Wgraph:Demo node type

From FollowTheScore
Revision as of 08:39, 7 November 2007 by Gero (talk | contribs) (New page: * normally type properties would be assigned in the sequence in which the type definitions appear, i.e. x-y-y2-z-* * but in this case the ''node_types'' statement is used to change the seq...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • normally type properties would be assigned in the sequence in which the type definitions appear, i.e. x-y-y2-z-*
  • but in this case the node_types statement is used to change the sequence to z-y-x-y2-*
  • identical properties are not overwritten by later assigments
  • special rules apply to the label

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

 node A {        }
 node B { type x }
 node C { type x;y }
 node D { type x;y2 }
 node E { type "y;x" }  // sequence does not matter here
 node F { type "x; y; z" }
 // sequence of node type definitions is relevant
 node_type x  { color lightred }
 node_type y  { color lightgreen }
 node_type y2 { color blue }
 node_type z  { color lightblue width 100}
 node_type *  { color yellow border_style dotted}
 node_types z;y;x

}}