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. |
android.graphics.RectF |
getBounds()
Gets or sets the bounding rectangle of the node.
|
android.graphics.PointF |
getCenter()
Gets the geometric center of this node.
|
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(android.graphics.RectF value) |
void |
setBounds(android.graphics.RectF value,
boolean updateSize) |
void |
setCenter(android.graphics.PointF value)
Sets the geometric center of this node.
|
android.graphics.RectF getBounds()
void setBounds(android.graphics.RectF value)
void setBounds(android.graphics.RectF value, boolean updateSize)
LinkList getOutLinks()
LinkList getInLinks()
float getWeight()
java.util.Hashtable<java.lang.Object,java.lang.Object> getRuntimeData()
java.util.Hashtable<java.lang.Object,java.lang.Object> getTraits()
android.graphics.PointF getCenter()
void setCenter(android.graphics.PointF value)
Node getMaster()
NodeList getSubordinates()
com.mindfusion.graphs.Vertex createVertex()
Vertex
of appropriate type to represent this node in a graph.