Package | com.yworks.yfiles.layout |
Class | public class LayoutGraphCopyFactory |
Inheritance | LayoutGraphCopyFactory YObject Object |
Implements | GraphCopier_CopyFactory |
See also
Method | Defined By | ||
---|---|---|---|
LayoutGraphCopyFactory(init:Boolean = true) | LayoutGraphCopyFactory | ||
LayoutGraphCopyFactory | |||
LayoutGraphCopyFactory | |||
Creates a new com.yworks.yfiles.layout.DefaultLayoutGraph. | LayoutGraphCopyFactory | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | LayoutGraphCopyFactory | ||
hashCode():int | YObject | ||
[static] | LayoutGraphCopyFactory | ||
LayoutGraphCopyFactory | |||
LayoutGraphCopyFactory |
Method | Defined By | ||
---|---|---|---|
Copies the edge label's layout. | LayoutGraphCopyFactory | ||
copyEdgeLabels(originalLayoutGraph:LayoutGraph, originalEdge:Edge, layoutGraph:LayoutGraph, edge:Edge):void
Callback that copies the labels for a given edge. | LayoutGraphCopyFactory | ||
Copies the node label's layout. | LayoutGraphCopyFactory | ||
copyNodeLabels(originalLayoutGraph:LayoutGraph, originalNode:Node, targetGraph:LayoutGraph, newNode:Node):void
Callback that copies the labels for a given node. | LayoutGraphCopyFactory | ||
initLayoutGraphCopyFactory():void | LayoutGraphCopyFactory |
LayoutGraphCopyFactory | () | Constructor |
public function LayoutGraphCopyFactory(init:Boolean = true)
init:Boolean (default = true )
|
copyEdge | () | method |
public function copyEdge(targetGraph:Graph, newSource:Node, newTarget:Node, originalEdge:Edge):Edge
Parameters
targetGraph:Graph | |
newSource:Node | |
newTarget:Node | |
originalEdge:Edge |
Edge |
copyEdgeLabelLayout | () | method |
protected function copyEdgeLabelLayout(edgeLabelLayout:EdgeLabelLayout):EdgeLabelLayout
Copies the edge label's layout.
Parameters
edgeLabelLayout:EdgeLabelLayout |
EdgeLabelLayout |
copyEdgeLabels | () | method |
protected function copyEdgeLabels(originalLayoutGraph:LayoutGraph, originalEdge:Edge, layoutGraph:LayoutGraph, edge:Edge):void
Callback that copies the labels for a given edge.
Parameters
originalLayoutGraph:LayoutGraph | |
originalEdge:Edge | |
layoutGraph:LayoutGraph | |
edge:Edge |
copyNode | () | method |
public function copyNode(targetGraph:Graph, originalNode:Node):Node
Parameters
targetGraph:Graph | |
originalNode:Node |
Node |
copyNodeLabelLayout | () | method |
protected function copyNodeLabelLayout(nodeLabelLayout:NodeLabelLayout):NodeLabelLayout
Copies the node label's layout.
Parameters
nodeLabelLayout:NodeLabelLayout |
NodeLabelLayout |
copyNodeLabels | () | method |
protected function copyNodeLabels(originalLayoutGraph:LayoutGraph, originalNode:Node, targetGraph:LayoutGraph, newNode:Node):void
Callback that copies the labels for a given node.
Parameters
originalLayoutGraph:LayoutGraph | |
originalNode:Node | |
targetGraph:LayoutGraph | |
newNode:Node |
createGraph | () | method |
public function createGraph():Graph
Creates a new com.yworks.yfiles.layout.DefaultLayoutGraph.
ReturnsGraph |
See also
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initLayoutGraphCopyFactory | () | method |
protected final function initLayoutGraphCopyFactory():void
newLayoutGraphCopyFactory | () | method |
public static function newLayoutGraphCopyFactory():LayoutGraphCopyFactory
ReturnsLayoutGraphCopyFactory |
postCopyGraphData | () | method |
public function postCopyGraphData(originalGraph:Graph, newGraph:Graph, nodeMap:Map, edgeMap:Map):void
Parameters
originalGraph:Graph | |
newGraph:Graph | |
nodeMap:Map | |
edgeMap:Map |
preCopyGraphData | () | method |
public function preCopyGraphData(originalGraph:Graph, newGraph:Graph):void
Parameters
originalGraph:Graph | |
newGraph:Graph |