Package ghidra.service.graph
Class AttributedEdge
java.lang.Object
ghidra.service.graph.Attributed
ghidra.service.graph.AttributedEdge
Generic directed graph edge implementation
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class ghidra.service.graph.Attributed
clear, entrySet, getAttribute, getAttributes, getDescription, hasAttribute, isEmpty, keys, putAttributes, removeAttribute, setAttribute, setDescription, size, values
-
Field Details
-
EDGE_TYPE_KEY
- See Also:
-
-
Constructor Details
-
AttributedEdge
Constructs a new GhidraEdge- Parameters:
id
- the unique id for the edge
-
-
Method Details
-
toString
-
getId
Returns the id for this edge- Returns:
- the id for this edge
-
hashCode
public int hashCode() -
equals
-
getEdgeType
Returns the edge type for this edge- Returns:
- the edge type for this edge
-
setEdgeType
Sets the edge type for this edge. Should be a value defined by theGraphType
for this graph, but there is no enforcement for this. If the value is not defined in GraphType, it will be rendered using the default edge color forGraphType
- Parameters:
edgeType
- the edge type for this edge
-