Linear

extends:
Jump To: Members

A linear edge style draws edges between two nodes as a straight line.

Examples:

To define a linear edgestyle using default values display.template('edge').as(thinkmap.display.edgestyle.linear())
If you wish to use anchors other than the default (the default is the center point): display.template('edge').as( thinkmap.display.edgestyle .linear() .anchorFrom(thinkmap.display.anchor.midpoint()) .anchorTo(thinkmap.display.anchor.midpoint()) );

Instance Methods