chevron_right Demos chevron_right Label Editing
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

Label Edit Properties

Editable Items

Validation

Label Editing Demo

This demo shows customizations of the interactive label editing. In particular, it shows:

Thing to Try

Editing Properties

Label Creation, Label Editing
Specifies whether adding and editing of labels is allowed.
Hide Label During Editing
Specifies whether the label is hidden while the label editor text box is displayed.
Instant Typing
If enabled, label text editing starts automatically when typing, without the need for starting it explicitly.
Custom Label Helper
Enables a custom IEditLabelHelper for node labels. This helper has the following features:
  • Each node can have at most two labels.
  • The first label gets a special style and is placed on top of the node. In addition, it cannot be edited once it was created. Instead, a second label is created.
  • The editing text box has a different background.
Editable Items
Specifies whether changing labels of nodes and edges is allowed.
Validation
Specifies whether new label texts are validated against the regular expression in the Pattern field. The default pattern does a simple email address verification.