chevron_right Demos chevron_right Graph Editor
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 | Online (Zoom / Teams)

No install required | We show live code

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 | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Graph Editor Demo

The Simple Editor demo exhibits a GraphComponent which enables graph editing via the default GraphEditorInputMode.

Creating Elements (Nodes / Vertices)

Click on an empty location on the canvas.

Creating Connections (Edges / Links)

To begin creating an edge, hover over the source node to show the ports (by default, there is only a single port at the node center). Press the left mouse button on the displayed port, and start dragging. Complete the edge creation by releasing the mouse button over a target node. Abort edge creation by pressing the Esc key.

Creating Control Points (Bends)

You can create control points during edge creation. While dragging from the source node, release the mouse button and click on an empty spot of the canvas to create a control point there. Undo control point creation with right-click.

Control points can also be added to existing edges. Drag an edge at the desired location to create a bend there.

Creating and Editing Labels

Press the F2 key while an element or connection is selected, or double click on an element or connection.

Panning and Zooming

Selection

Moving Items

Removing Items

Press the Delete key to remove all currently-selected items, or use the button in the toolbar.

Resizing Elements

Select a node, then drag one of the resizing handles to change the size.

Clipboard

There are also buttons in the toolbar for clipboard operations.

Undo/Redo

There are also undo and redo buttons in the toolbar.

Grouping

There are also group and ungroup buttons in the toolbar.

Collapsing and Expanding Groups

Entering and Exiting Groups

There are also enter group and exit group buttons in the toolbar.

Orthogonal Edge Creation

Snapping