public interface IGraphElementIdProvider
| Modifier and Type | Method and Description |
|---|---|
String |
getEdgeId(IWriteContext context,
IEdge edge)
Get an ID for the specified
edge object. |
String |
getGraphId(IWriteContext context,
IGraph graph)
Get an ID for the specified
graph object. |
String |
getNodeId(IWriteContext context,
INode node)
Get an ID for the specified
node object. |
String |
getPortId(IWriteContext context,
IPort port)
Get an ID for the specified
port object. |
String getEdgeId(IWriteContext context, IEdge edge)
edge object.context - The current write context, for further information to the provideredge - The current graph objectString getGraphId(IWriteContext context, IGraph graph)
graph object.context - The current write context, for further information to the providergraph - The current graph objectString getNodeId(IWriteContext context, INode node)
node object.context - The current write context, for further information to the providernode - The current graph objectString getPortId(IWriteContext context, IPort port)
port object.context - The current write context, for further information to the providerport - The current port object