DroidDiagram Programmer's Guide
Path Members
Constructors Methods
 


The following tables list the members exposed by the Path type.

 Public Constructors

  Name Description

Path

Overloaded.  

 Public Methods

  Name Description

add

Overloaded.  

contains

Overloaded.  

getItems

Gets a list with all items (nodes and links) composing the path.

getLength

Gets the length of the path.

getLinks

Gets a list of all links composing the path.

getNodes

Gets the list of all nodes connected by the path.

getWeight

Gets the length of the path expressed as a sum of the weights of all nodes and links, composing the path.

sameCycle

Determines whether the current path traverses the same nodes as the specified path in the same order, disregard which one is the starting node.

 See Also

Path Class
com.mindfusion.diagramming.jlayout Namespace