chevron_right Demos chevron_right Custom Copy and Paste
Related demos
Book a live Demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

  • Interactive graph visualization in real time
  • Integration example
  • Live Q&A and next step recommendations

30–45 minutes | 1:1 or team session

Book a free live demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session

Book a free live demo
Paste Options:

Custom Copy & Paste Demo

This demo shows how to implement functionality that lets you copy the style of graph items and paste it onto other graph items. The copy operation itself remains unchanged — only the paste operation is customized.

Things to Try

  1. Select one or more graph items, but no more than one of each type (nodes, edges, node labels, edge labels). For example, select the "Lithium Ore" node and the "refine" edge.
  2. Press Ctrl + C or click the Copy button in the popover or toolbar. The items are copied using the standard graph clipboard.
  3. Select any number of graph items — for example, the “Bauxite” node and its “refine” edge — and then press Ctrl + Alt + V or click the Paste button in the popover or in the toolbar. The styles from the copied items are now applied to the corresponding graph items in your current selection.

Paste Options

Behavior