I

IGraphElementFactory

This is the interface for a factory that is used for creating the constituents of an IGraph that are encountered during the parsing of GraphML
Inheritance Hierarchy

Members

No filters for this type

Methods

Adds a new port to the given IPortOwner.
abstract

Parameters

context: IParseContext
The context from which the graph, the CreationProperties, and the objectStack can be queried.
owner: IPortOwner
The owner of the port.

Return Value

IPort
A newly created port.
Creates an edge for the given context and the provided source and target nodes or ports.
abstract

Parameters

context: IParseContext
The context from which the graph, the CreationProperties, and the objectStack can be queried.
sourceNode: INode
The source node for the edge.
sourcePort: IPort
The source port for the edge, if specified, otherwise null.
targetNode: INode
The target node for the edge.
targetPort: IPort
The target port for the edge, if specified, otherwise null.

Return Value

IEdge
A newly created edge.
Creates a node for the given context.
abstract

Parameters

context: IParseContext
The context from which the graph, the CreationProperties, and the objectStack can be queried.

Return Value

INode
A newly created node

Static Methods

static

Parameters

Return Value

IGraphElementFactory