I

IGraphElementResolver

Interface for classes that can resolve graph elements based on their GraphML id attribute(s).
Inheritance Hierarchy

Members

No filters for this type

Methods

Resolve the GraphML id to an IEdge instance.
abstract

Parameters

context: IParseContext
The current parse context.
id: string
The id that should be resolved.

Return Value

IEdge
The IEdge that is defined by this GraphML id, or null if no such edge exists yet.
Resolve the GraphML id to an IGraph instance.
abstract

Parameters

context: IParseContext
The current parse context.
id: string
The id that should be resolved.

Return Value

IGraph
The IGraph that is defined by this GraphML id, or null if no such graph exists yet.
Resolve the GraphML id to an INode instance.
abstract

Parameters

context: IParseContext
The current parse context.
id: string
The id that should be resolved.

Return Value

INode
The INode that is defined by this GraphML id, or null if no such node exists yet.
Resolve the GraphML id to an IPort instance.
The port owner is specified by the ownerId attribute.
abstract

Parameters

context: IParseContext
The current parse context.
ownerId: string
The GraphML id of the port owner.
id: string
The id that should be resolved.

Return Value

IPort
The IPort that is defined by the GraphML ids, or null if no such port exists yet.

Static Methods

static

Parameters

Return Value

IGraphElementResolver