documentationfor yFiles for HTML 2.6

GraphClipboard

Clipboard implementation for IGraph instances.

Inheritance Hierarchy
GraphClipboard

Remarks

This implementation copies a given graph to an internally held clipboard graph. The clipboard graph can then be pasted to a target graph instance.

The clipboard can be configured to copy and paste items that depend on other items without copying the items it depends on, e.g. labels, ports, edges, and bends.

Also depending on the selection in the target graph, items can be pasted at multiple locations at once, e.g. a single label can be copied to the clipboard independently and pasted onto several selected target items.

Related Programming Samples

Graph Editor
Shows the graph editing features of the graph component.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.graph.GraphClipboard

See Also

Constructors

Properties

Methods

Events

Static Methods