{{description>Full reference for the Curvy Generator graph editor window: toolbar, canvas navigation, module manipulation, link creation, keyboard shortcuts.}} ====== Curvy Generator Editor ====== The Curvy Generator Editor is the primary interface for building and editing Curvy Generator graphs. {{ :documentation:generator:cg.webp?direct&700 |The Curvy Generator graph editor }} ===== Toolbar ===== The toolbar runs along the top of the graph window. ^ Button ^ Action ^ | Clear Moduels | Delete all modules from the generator. | | Clear Output | Delete all managed output resources without removing modules. | | Save Output to Scene | Copy current output objects into the scene as independent GameObjects, detached from the generator. | | Refresh | Force a full refresh of all modules, recalculating everything. | | Reorder Modules | Auto-arrange the module positions in the canvas to make the graph easier to read. | | Debug Mode | Enable the [[.:grapheditor#debug_mode| Debug Mode]]. | | Auto-Expand Selected Module | When enabled, all modules are collapsed while the selected module automatically expands to show its settings. | | Expand All | Expand all modules. | | Collapse All | Collapse all modules. | | Synchronize Selection | When enabled, selecting a module in the graph also selects its GameObject in the Unity hierarchy, and vice versa. | | Save Template | Save the selected modules as a reusable template. See [[templates]]. | | Zoom | Zoom the canvas in or out. | | Snap Grid Size | Set the snap grid size used when dragging modules with Alt held. | | Help | Show a quick-reference help overlay in the canvas. | ===== Status Bar ===== The bar at the bottom of the window shows the average total execution time of the last generator refresh on the left. Informational messages might appear on the right. ===== Canvas ===== The Canvas is the middle are where the actual graph is displayed. ==== Canvas Navigation ==== ^ Action ^ How ^ | Pan canvas | Middle-mouse drag, or hold Space then drag | | Zoom | Ctrl + Scroll wheel | | Focus | Press F (focuses on selected modules, or the whole graph if nothing selected) | | Fast scroll | Hold Alt while scrolling | ==== Adding Modules ==== ^ Method ^ How ^ | Context menu | Right-click empty canvas → Add → choose module from list of all modules | | From link | Drag from a slot and release on empty canvas → choose module from list of modules compatible with the link | | Drag scene objects | Drag a CurvySpline, Mesh, or GameObject from the hierarchy or project into the canvas → auto-creates matching input module | ==== Module Manipulation ==== ^ Action ^ How ^ | Select module | Left-click | | Select multiple | drag rectangle, or Shift+click to add module, or Ctrl+click to add/remove module | | Select all | Ctrl+A or right-click → Select all | | Move module(s) | Drag selected module(s) | | Snap to grid | Hold Alt while dragging | | Rename / recolor | Click the pencil icon on a module title bar; press Enter or Escape to confirm | | Copy / Cut / Paste / Duplicate | Ctrl+C / Ctrl+X / Ctrl+V / Ctrl+D, or right-click context menu | | Delete | Delete key or right-click → Delete | | Reset module settings | Right-click module → Reset | ==== Links ==== ^ Action ^ How ^ | Create link | Drag from an output slot (right side, ''>'' connector) to a compatible input slot (left side, ''<'' connector), or the other way | | Select link | Left-click on a link wire | | Delete link | Right-click on a link wire; or select link then Delete | Links are color-coded by [[.:datatypes]]. Double lines indicate an [[.:advancedconcepts#on-request_modules|On-Request]] link. ==== Debug Mode ==== Enable Debug Mode from the toolbar to show a debug panel inside each module. The panel shows: * Average execution time in milliseconds * Percentage of total generator execution time * Data values output by the module (number of points, vertices, etc.) * Optional scene-view visualization (for supported modules)