C

LayoutGraphCopyData

Provides mappings between the copied and original graph items for layout graphs that are created as a copy of another graph using the createCopy method.
Inheritance Hierarchy

Remarks

An instance of this class can be obtained for a copied graph via its context property graphCopyData.

This class cannot be instantiated

Members

No filters for this type

Properties

Gets the copied graph.
readonlyfinal
Gets the original graph that was copied.
readonlyfinal

Methods

Writes the current layout information of all elements of this copied graph to the original graph.
This operation works only if the structure of the original graph has not been changed.
final
Returns the copied edge that corresponds to the specified original edge.
final

Parameters

originalEdge: LayoutEdge
An edge from the original graph whose copy resides in this graph.

Return Value

LayoutEdge
An edge in this graph that is the copy of the given original edge, or null if no corresponding edge exists.
Returns the copied node that corresponds to the specified original node.
final

Parameters

originalNode: LayoutNode
A node from the original graph whose copy resides in this graph.

Return Value

LayoutNode
A node in this graph that is the copy of the given original node, or null if no corresponding node exists.
Returns the original edge that corresponds to the specified copied edge.
final

Parameters

copiedEdge: LayoutEdge
The edge in this graph that is a copy of the returned edge.

Return Value

LayoutEdge
The original edge in the originalGraph whose copy is the given edge, or null if no corresponding edge exists.
Returns the original edge label that corresponds to the given copied edge label.
final

Parameters

label: LayoutEdgeLabel
The label in the copiedGraph that is a copy of the returned edge label.

Return Value

LayoutEdgeLabel
The original edge label in the originalGraph whose copy is the given label, or null if no corresponding label exists.
Returns the original node that corresponds to the specified copied node.
final

Parameters

copiedNode: LayoutNode
The node in this graph that is a copy of the returned node.

Return Value

LayoutNode
The original node in the originalGraph whose copy is the given node, or null if no corresponding node exists.
Returns the original node label that corresponds to the given copied node label.
final

Parameters

label: LayoutNodeLabel
The label in the copiedGraph that is a copy of the returned label.

Return Value

LayoutNodeLabel
The original node label in the originalGraph whose copy is the given label, or null if no corresponding label exists.