chevron_right Demos chevron_right Theming
Discover More
Book a live Demo

See yFiles in action

30 min • Online • No install required


For developers, PMs & tech leads

  • Quick-start walkthrough + a real integration example
  • Live Q&A with next-step recommendations

Prefer another tool over Zoom? Just say so when you book.

Opens our scheduling page with Zoom's booking widget embedded. Using it shares your data with Zoom under its Privacy Policy.

See yFiles in action

30 min • Online • No install required


For developers, PMs & tech leads

Prefer another tool over Zoom? Just say so when you book.

Opens our scheduling page with Zoom's booking widget embedded. Using it shares your data with Zoom under its Privacy Policy.

Theming

This demo shows how to define a custom theme for the graph component by changing the --yfiles-theme CSS variables. A theme affects the color and look of the input handles (e.g. the handles to resize nodes), the marquee, the snap-lines, label position candidates, the graph overview marquee and also the indicators to select, highlight or focus items. The Theming section of the Developers Guide explains the effects of a custom Theme in detail.

The custom theme in this demo uses a round theme variant and a scale of 2 to increase the size of the handles. The primary color is almost white, the secondary color and background color are orange-like.

This is done by setting the following CSS variables:

.yfiles-canvascomponent {
  --yfiles-theme-primary: #fcfdfe;
  --yfiles-theme-secondary: #f69454;
  --yfiles-theme-background: #ee693f;
  --yfiles-theme-variant: round;
  --yfiles-theme-scale: 2;
}        

Things to Try

See the sources for details.