documentationfor yFiles for HTML 3.0.0.3

Method Parameters

addBend (ClipboardOperationContext, IEdge, IBend, Point, number)in ClipboardGraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
addLabel (ClipboardOperationContext, ILabelOwner, ILabel)in ClipboardGraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
addPort (ClipboardOperationContext, IPortOwner, IPort)in ClipboardGraphCopierAdds a port to the targetOwner in the targetGraph as a copy of the sourcePort.
copy (ClipboardOperationContext, INode, Point?, function(IModelItem, IModelItem):void?)in ClipboardGraphCopierCopies a subgraph from the sourceGraph to the targetGraph as defined in the context.
createEdge (ClipboardOperationContext, IEdge, IPort, IPort)in ClipboardGraphCopierAdds an edge to the targetGraph as a copy of the sourceEdge.
createGroupNode (ClipboardOperationContext, INode, INode, Point)in ClipboardGraphCopierCreates a copy of the sourceGroupNode in the targetGraph.
createNode (ClipboardOperationContext, INode, Point)in ClipboardGraphCopierCreates a copy of the sourceNode in the targetGraph.
createNode (ClipboardOperationContext, INode, INode, Point)in ClipboardGraphCopierCreates a copy of the sourceNode in the targetGraph.
findParentByPreviousParent (ClipboardOperationContext, INode, boolean)in GraphClipboardProvides the original parent group node or its ancestor for the given sourceNode.
getTargetEdge (ClipboardOperationContext, IBend)in GraphClipboardProvides an IEdge where the given sourceBend can be added to.
getTargetLabeledItem (ClipboardOperationContext, ILabel)in GraphClipboardProvides an ILabelOwner where the given sourceLabel can be added to.
getTargetNode (ClipboardOperationContext, INode, Point)in GraphClipboardProvides a parent group node for the given sourceNode considering the parentNodeDetection.
getTargetPort (ClipboardOperationContext, IEdge, boolean)in GraphClipboardProvides an IPort where the given sourceEdge can be added to.
getTargetPortOwner (ClipboardOperationContext, IPort)in GraphClipboardProvides an IPortOwner where the given sourcePort can be added to.
onCopy (ClipboardOperationContext, INode?, function(IModelItem, IModelItem):void?)in GraphClipboardCalled from copy and delegates to copy on the current toClipboardCopier instance.
onDuplicate (ClipboardOperationContext, function(IModelItem, IModelItem):void)in GraphClipboardCalled from duplicate and delegates to copy on the current duplicateCopier instance.
onItemCopied (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been copied into the clipboard graph in response to a copy operation.
onItemCut (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been copied into the clipboard graph in response to a cut operation.
onItemDuplicated (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been duplicated into the target graph in response to a duplicate operation.
onItemPasted (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been pasted into the target graph in response to a onPaste operation.
onPaste (ClipboardOperationContext, function(IModelItem, IModelItem):void, INode?, IEnumerable<IModelItem>?, Point?)in GraphClipboardCalled during paste operation to call copy on the current fromClipboardCopier instance.