thinkmap.graph.Edge

extends:
Jump To: Properties Members

Represents an edge in a thinkmap.graph.Graph. Edges are not normally constructed directly, but are created by calling graph.createEdge().

Examples:

Construct a edge to represent that Harrison Ford played the role of "Han Solo" in "Star Wars" var actor = graph.createNode({name:'Harrison Ford'}); var movie = graph.createNode({title:'Star Wars'}); // add a new non-directed edge var edge = graph.add(graph.createEdge(actor,movie,false,{role:'Han Solo'}));

Properties

Instance Methods

Defined in thinkmap.graph.Edge: