Wgraph:Demo hidden

From FollowTheScore
Revision as of 22:39, 9 October 2007 by Gero (talk | contribs) (New page: * The 'class' attribute is supported only for backward compatibility. * classes are identified by integer numbers * an edge can belong to one class only (or to none) * if an edge class is ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • The 'class' attribute is supported only for backward compatibility.
  • classes are identified by integer numbers
  • an edge can belong to one class only (or to none)
  • if an edge class is hidden, the edge will not influence the layout
  • if you want to hide more than one edge type you must repeat the 'hidden' command for each of them

The preferred way to hide edges, however, is the use of edge 'types' and the 'skip_edgetypes' command. It is not advisable to use 'class' and 'type' within the same graph.


{{#wgraph:png|thumb=60|wgl|

 edge A B { class 1 }
 edge C D { class 2 }
 edge E F { class 3 label visible }
 edge G H { class 4 label secret  }
 hidden 2 hidden 4

}}