Difference between revisions of "Wgraph:Demo loc"

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
 +
* loc can be used to set a pair of coordinates
 +
* x / y can be used for the same purpose
 +
* coordinates will only be used if all nodes in a graph have been assigned absolute coordinates
 +
 
{{#wgraph:svg|thumb=40|wgl|
 
{{#wgraph:svg|thumb=40|wgl|
 
   node A { width 100 height 30 loc 50;50}
 
   node A { width 100 height 30 loc 50;50}
   node B { width 200 height 80 loc 150;80}
+
   node B { width 200 height 80 x 150 y 80}
 
}}
 
}}

Revision as of 09:31, 28 October 2007

  • loc can be used to set a pair of coordinates
  • x / y can be used for the same purpose
  • coordinates will only be used if all nodes in a graph have been assigned absolute coordinates

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

 node A { width 100 height 30 loc 50;50}
 node B { width 200 height 80 x 150 y 80}

}}