Skip to main content

Crate demo_styling

Crate demo_styling 

Source
Expand description

§Styling Demo

Interactive demonstration of node graph styling capabilities.

This demo showcases:

  • Per-node styling with NodeStyle
  • Live style controls (corner radius, opacity, border width)
  • Theme switching
  • Different node type presets (Input, Process, Output, Comment)

§Interactive Demo

Loading demo...

Failed to load demo. WebGPU required.

§Controls

  • Select nodes - Click nodes in the right panel to select
  • Style sliders - Adjust corner radius, opacity, border width
  • Presets - Apply Input/Process/Output/Comment presets
  • Theme picker - Switch between color themes
  • Scroll - Zoom in/out
  • Middle-drag - Pan the canvas

Functions§

main