Changes

Jump to navigation Jump to search
747 bytes added ,  19:00, 18 October 2011
Add syntax description of \connection
</context>
==Syntax for <cmd>connection</cmd>==
 
<texcode>
\connection [&lt;from&gt;&lt;to&gt;] {&lt;FLOWcell&gt;}
</texcode>
 
<code><from></code> and <code><to></code> are the points from which point to which point the connection should be drawn. The following graphic depicts the names of the points.
 
<texcode>
-t t +t
----------------
+l | | +r
| |
l | | r
| |
-l | | -r
| |
----------------
-b b +b
 
</texcode>
 
===Example===
 
The following code draws a line from the left top point of the current cell to the right bottom point of cell <code>foobar</code>.
 
<texcode>
\connection [-t+b] {foobar}
</texcode>
[[Category:Graphics]]
[[Category:Metapost]]
69

edits

Navigation menu