Interface for classes that provide custom id's for core GraphML elements
Inheritance Hierarchy
IGraphElementIdProvider
Type Details
- yfiles module
- view-graphml
- yfiles-umd modules
- view-graphml, view
- Legacy UMD name
- yfiles.graphml.IGraphElementIdProvider
Methods
Get an ID for the specified edge
object
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The current write context, for further information to the provider
- edge - IEdge
- The current graph object
Returns
- ↪string
- an ID for the specified edge object
Get an ID for the specified graph
object
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The current write context, for further information to the provider
- graph - IGraph
- The current graph object
Returns
- ↪string
- an ID for the specified graph object
Get an ID for the specified node
object
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The current write context, for further information to the provider
- node - INode
- The current graph object
Returns
- ↪string
- an ID for the specified graph object
Get an ID for the specified port
object
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The current write context, for further information to the provider
- port - IPort
- The current port object
Returns
- ↪string
- an ID for the specified port object