public interface Node
Modifier and Type | Method and Description |
---|---|
com.mindfusion.graphs.Vertex |
createVertex()
Creates a
Vertex of appropriate type to represent this node in a graph. |
java.awt.geom.Rectangle2D.Float |
getBounds()
Gets or sets the bounding rectangle of the node.
|
java.awt.geom.Point2D.Float |
getCenter()
Gets the geometric center of this node.
|
java.lang.String |
getDebugId() |
LinkList |
getInLinks()
Gets all incoming links.
|
Node |
getMaster()
Gets the master node in a graph with hierarchical relationships.
|
LinkList |
getOutLinks()
Gets all outgoing links.
|
java.util.Hashtable<java.lang.Object,java.lang.Object> |
getRuntimeData()
Gets custom data associated with this node.
|
NodeList |
getSubordinates()
Gets the subordinate nodes in a graph with hierarchical relationships.
|
java.util.Hashtable<java.lang.Object,java.lang.Object> |
getTraits()
Contains properties specific to each layout algorithm.
|
float |
getWeight()
Gets the weight of the node.
|
void |
setBounds(java.awt.geom.Rectangle2D value) |
void |
setBounds(java.awt.geom.Rectangle2D value,
boolean updateSize) |
void |
setCenter(java.awt.geom.Point2D.Float value)
Sets the geometric center of this node.
|
java.awt.geom.Rectangle2D.Float getBounds()
void setBounds(java.awt.geom.Rectangle2D value)
void setBounds(java.awt.geom.Rectangle2D value, boolean updateSize)
LinkList getOutLinks()
LinkList getInLinks()
float getWeight()
java.lang.String getDebugId()
java.util.Hashtable<java.lang.Object,java.lang.Object> getRuntimeData()
java.util.Hashtable<java.lang.Object,java.lang.Object> getTraits()
java.awt.geom.Point2D.Float getCenter()
void setCenter(java.awt.geom.Point2D.Float value)
Node getMaster()
NodeList getSubordinates()
com.mindfusion.graphs.Vertex createVertex()
Vertex
of appropriate type to represent this node in a graph.