Major mode for Jgraph files