|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdgeData
Contains all extended data related to an edge, including access to its attributes.
getAttributes()
Method Summary | ||
---|---|---|
Attributes |
getAttributes()
Gets the access to the attributes, all the custom data related to this object. |
|
Edge |
getEdge()
Returns the edge this edge data belongs. |
|
java.lang.String |
getId()
Returns the string identifier of this edge. |
|
java.lang.String |
getLabel()
Returns the edge label, or null if none has been set. |
|
|
getLayoutData()
Returns the layout data object associated to this edge. |
|
NodeData |
getSource()
Returns the edge source node data. |
|
NodeData |
getTarget()
Returns the edge target node data. |
|
void |
setLabel(java.lang.String label)
Sets this edge label. |
|
void |
setLayoutData(LayoutData layoutData)
Sets the layout data of this edge. |
Methods inherited from interface org.gephi.graph.api.Renderable |
---|
alpha, b, g, getModel, getRadius, getSize, getTextData, r, setAlpha, setB, setColor, setG, setModel, setR, setSize, setX, setY, setZ |
Methods inherited from interface org.gephi.graph.api.Spatial |
---|
x, y, z |
Method Detail |
---|
Edge getEdge()
NodeData getSource()
getEdge().getSource().getNodeData()
.
NodeData getTarget()
getEdge().getSource().getNodeData()
.
java.lang.String getId()
Edge.getId()
which is set by the system.
Use Graph.getEdge(String)
to find edges from this id.
If no identifier has been set, returns the system integer identifier.
java.lang.String getLabel()
null
if none has been set.
null
void setLabel(java.lang.String label)
label
- the label that is to be set as this edge label<T extends LayoutData> T getLayoutData()
T
- must inherit from LayoutData
null
void setLayoutData(LayoutData layoutData)
layoutData
- the layout data that is to be set for this edgeAttributes getAttributes()
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |