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.
Gets the copied graph.
readonlyfinal
Gets the original graph that was copied.
Gets the original graph that was copied.
readonlyfinal
Methods
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.
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
nullif no corresponding edge exists.
Returns the copied node that corresponds to the specified original node.
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
nullif no corresponding node exists.
Returns the original edge that corresponds to the specified copied edge.
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
nullif no corresponding edge exists.
Returns the original edge label that corresponds to the given copied edge label.
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
nullif no corresponding label exists.
Returns the original node that corresponds to the specified copied node.
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
nullif no corresponding node exists.
Returns the original node label that corresponds to the given copied node label.
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
nullif no corresponding label exists.