Studio
  • Why Studio?
  • Getting Started
  • Setting up Studio
    • Import from Tokens Studio for Figma
    • Import from Figma variables
  • Connect Studio to Figma
    • Using Tokens Studio for Figma
    • Using Companion by Tokens Studio
  • Connect Studio to Code
  • Platform
    • Features
      • Tokens
        • Token Sets
        • Token flow
      • Themes
        • Theme Groups and Theme Options
      • Configuration
      • Releases
    • Platform
      • Accounts
      • Organisation
      • Project
      • API keys
      • Inviting members
  • GRAPH ENGINE
    • Introduction
    • Editor
    • Creating a Graph Based Set
    • Nodes
    • Types
    • Editing
    • Available Nodes
      • Accessibility
        • Color Blindness
      • Array
        • Array Filter
        • Array Find
        • Arrify
        • Concat
        • Flatten
        • Index Array
        • Inject Item
        • Array Length
        • Array Push
        • Remove Item
        • Replace Item
        • Reverse Array
        • Slice Array
        • Sort Array
        • Array Map
      • Color
        • Color To String
        • Color Wheel
        • Contrast
        • Contrasting Alpha
        • Contrasting Color
        • Contrasting from Array
        • Convert Color
        • Create Color
        • Darken Color
        • Deconstruct Color
        • Delta E
        • Distance
        • Flatten Alpha
        • Lighten Color
        • Match Alpha
        • Mix Colors
        • Name Color
        • Poline
        • Range
        • Scale Colors
        • Sort Colors By Distance
        • String To Color
      • CSS
        • CSS Accessible Clamp
        • CSS Box
        • CSS Function
        • CSS Map
      • Curves
        • Bezier Curve
        • Construct Float Curve
        • Deconstruct Float Curve
        • Flip Float Curve
        • Preset Bezier Curves
        • Sample Array from Float Curve
        • Sample Curve
        • Sample Float Curve
      • Design Tokens
        • Array To Set
        • Create Border
        • Create Border Design Token
        • Create Box Shadow
        • Create Box Shadow Design Token
        • Create Design Token
        • Create Reference
        • Create Typography
        • Create Typography Design Token
        • Destruct Token
        • External Token Set
        • Extract Token
        • Flatten Token Sets
        • Group Tokens
        • Inline Tokens
        • Invert Token Set
        • Leonardo Color
        • Leonardo Theme
        • Name Tokens
        • Preview Typography
        • Resolve Tokens
        • Set To Array
        • Ungroup Tokens
        • Group Token Array
        • Ungroup Token Array
      • Figma
        • Code Syntax
        • Publish Varibales
        • Scope All
        • Scope by Type
        • Scope Color
        • Scope Number
        • Scope String
      • Generic
        • Constant
        • Delay
        • Input
        • Object Merge
        • Note
        • Object Path
        • Objectify
        • Output
        • Panic
        • Passthrough
        • Subgraph
        • Time
      • Gradient
        • Gradient Stop
      • Logic
        • And
        • Compare
        • If
        • Not
        • Or
        • Switch
      • Math
        • Absolute
        • Add
        • Add Variadic
        • Ceiling
        • Clamp
        • Closest Number
        • Cosine
        • Count
        • Difference
        • Divide
        • Divide Variadic
        • Evaluate Math
        • Exponentiation
        • Floor
        • Fluid
        • Lerp
        • Modulo
        • Multiply
        • Multiply Variadic
        • Power
        • Random
        • Range Mapping
        • Round
        • Sine
        • Snap
        • Square Root
        • Subtract
        • Subtract Variadic
        • Tangent
      • Preview
        • Color Compare
        • Color Scale
        • Color Swatch
        • Math Expression
        • Number
        • Preview Curve
      • Search
        • Find First Match
        • Linear Search
      • Series
        • Alternating Series
        • Arithmetic Series
        • Exponential Decay
        • Fibonacci Series
        • Geometric Series
        • Harmonic Series
        • Inverse Linear Mapping
        • Linear Space
        • Power Series
      • String
        • Case Convert
        • Interpolation
        • Join Array
        • Lowercase
        • Normalize
        • Pad
        • Regex
        • Replace
        • Split String
        • Stringify
        • Uppercase
      • Typography
        • Base Font Size
      • Typing
        • Assert Defined
        • Has Value
        • Parse Number
        • Parse Unit
        • Pass Unit
      • Vector2
        • Create
        • Destructure
      • Naming
        • Alphabetic Scale
        • Alphanumeric Scale
        • Greek Letter
        • Hierarchy Level
        • Numeric Scale
        • T-Shirt Size
  • PLUGINS
    • Tokens Studio for Figma Plugin
    • Companion by Tokens Studio
    • Tokens Studio for Framer Plugin
Powered by GitBook
On this page
  • Adding & Moving Nodes
  • Connecting Nodes
  • Disconnecting Nodes
  • Split Connections (Pass Through)
  • Duplicate
  • Grouping Nodes
  • Testing Your Graph
  • Extra Editing Tools
  • Saving & Sharing
Edit on GitHub
  1. GRAPH ENGINE

Editing

The Graph Engine’s node editor is designed for flexibility and ease, letting you build and tweak graphs with simple actions. Here’s how to edit your workflows efficiently.

Adding & Moving Nodes

Add nodes to your canvas in three ways, each with a handy description to guide you:

  • From the Nodes Panel:

    • Open the Nodes Panel (usually on the left), find a node (e.g., "Add" or "Color to String"), and drag it onto the canvas.

    • Hover Tip: Pause over a node in the panel to see its description (e.g., "Adds two numbers together").

  • Through Shift + K Menu:

    • Press Shift + K to open a searchable menu.

    • Type to filter nodes (e.g., "color" for color-related nodes), select one, and hit Enter to add it where your cursor is.

    • Bonus: Each node shows a description in the menu for quick reference.

  • From the Top Action Bar:

    • Click the Nodes Icon in the toolbar (top of the screen), pick a node from the dropdown, and it lands on the canvas.

  • Moving Nodes: Click and drag any node to reposition it.

Connecting Nodes

Link nodes to flow data between them using two methods:

  • Drag Method: Click an output port (right side), drag to a matching input port (left side), and release. A blue edge appears if the types match; a red edge means they don’t.

  • Click Method: Click an output port, then click an input port. The editor auto-draws a blue edge if compatible. Tip: Hover over ports to check types (e.g., "color", "number") if "Port Types" is enabled.

Disconnecting Nodes

Break connections easily:

  • Click an edge (the line between ports), then press Delete. The edge vanishes, and data stops flowing.

Split Connections (Pass Through)

Insert a node into an existing connection to modify the flow:

  • Double-Click Method: Double-click an edge, pick a node from the menu that pops up (e.g., "Log Value"), and it splits the edge, wiring the new node between the original two.

Duplicate

Make an exact copy without clipboard fuss:

  • Right-click a node (or selected nodes) and choose Duplicate from the menu. The copy appears nearby, with settings intact but no edges.

Grouping Nodes

Keep your graph organized visually:

  • Select multiple nodes (click or drag a box), right-click, and choose Create Group.

  • What Happens: A colored background wraps the nodes, making them a visual unit without changing their logic (unlike a Subgraph).

  • Manage Groups: Right-click the group to Ungroup (removes the background) or Delete (removes the group and all nodes inside).

Testing Your Graph

See your work come to life as you edit:

  • Live Updates: The Output Panel and Inline Values (if enabled) update instantly as you connect or tweak nodes.

  • Preview Nodes: Connect an output to a specialized Preview Node for a polished view:

    • Color Scale Node: Shows a full color palette as swatches, neatly organized.

    • Color Swatch: Renders a single color with its value.

    • More preview options are in the Nodes Panel under "Preview Nodes".

Example: Connect a color array output to a Color Scale Node to see all swatches at once while you adjust inputs.

Extra Editing Tools

  • Zoom & Pan: Scroll the mouse wheel to zoom in/out, or drag the canvas to pan—great for navigating big graphs.

Saving & Sharing

Keep and share your graphs easily:

  • Download/Upload: Export your graph as a .json file via the toolbar’s Save icon, then upload it later with the Import option.

  • Team Collaboration: In Studio, your team can access and edit your graphs directly—perfect for collaborative projects.

  • Coming Soon: A community marketplace to exchange graphs and full design system projects. Stay tuned!

PreviousTypesNextAvailable Nodes

Last updated 2 months ago