Package ghidra.program.model.graph
Interface GraphEdge
-
public interface GraphEdge
Simple interface for a graph edge.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAttribute(java.lang.String attributeName)
Get the value of an attribute.java.lang.String
getID()
Get the unique ID string tagged to this edgevoid
setAttribute(java.lang.String attributeName, java.lang.String value)
Set an attribute on this edge.
-
-
-
Method Detail
-
getID
java.lang.String getID()
Get the unique ID string tagged to this edge- Returns:
- edge ID
-
setAttribute
void setAttribute(java.lang.String attributeName, java.lang.String value)
Set an attribute on this edge. NOTE: you must also define the attribute name on the graph display that this graph edge will be displayed on.- Parameters:
attributeName
- the name of the attributevalue
- the value of the attribute
-
getAttribute
java.lang.String getAttribute(java.lang.String attributeName)
Get the value of an attribute.- Parameters:
attributeName
- the name of the attribute- Returns:
- the string value of the attribute
-
-