Controls of the Graph View


Graphs are displayed in the Graph View.

A graph looks like this:



Read how to create a graph.

Working with nodes

Create a node

You can add nodes in the graph in 3 ways:

  • drag&drop a node/resource from the Library
  • press the SpaceBar and choose a node
  • drag&drop atomic nodes from the nodes toolbar


Search a node from the library


Split Points (Alt + Shift)

To delete a link, select it and press the delete key.

Move links from a node output to another

Use shift + click to move multiple links from one output to another

Copy a link from a node input

Use Ctrl + click to copy a link from an input to another input.

Use X to swap two selected links.


Select Parent Nodes/ Create Graph from selection


Create new node over a selected link



The toolbar

Focus

Click on this icon to focus the view of the graph on the selection. If there is no selection, the view will be focused on the entire graph.

Zoom 1:1

This icon allows you to focus the view on the entire graph.

Information

You can choose to display Connector Names, the Node Size, and the approximate processing time  directly on the graph.

When Display Node Size is enabled, the resolution is displayed under each node, with the output format.

Link Creation Mode

You can switch between the different link creation modes.

Profiler

The Profiler allows you to check how long your substance takes to compute. This is very useful if you want to use the .sbsar format for your game.

Finder

Use this feature to look for some nodes into your graph.

You can perform a search by type of nodes and type of custom parameters.


The context menu

RIght-Clicking in the graph will display the following context menu:

Add node

Allows you to add nodes in the graph.

You can also display the node menu by pressing the spacebar.

Add Comment

Allows the user to quickly add a comment on the graph


Add Frame

Allows to create a frame around the selected content.


Add pin

Allows you to add a pin on the graph.

Paste

Paste your selection, with both nodes and links.

See Copy Selection before performing the Paste action.

Use Ctrl + V / CMD + V to perform this action.

Paste nodes which have have been copied, without the links.

Use Shift + Ctrl + V / Shift + CMD + V to perform this action.

Select All

Select all the graph elements.

Use Ctrl + A / CMD + A to perform this action.

View outputs in 3D View

Use this command to display your outputs in the 3D View.

Compute Node Thumbnails

Pins

Display the list of pins in the graph.

Previous Pin

Allows you to navigate in the graph and reach the previous pin.

Use Shift + F2 to perform this action.

Next Pin

Allows you to navigate in the graph and reach the next pin.

Use F2 to perform this action.

Copy Selection

Copy the selection into the clipboard.

Use Ctrl + C / CMD + C to perform this action.

Delete Selection

This command deletes the selection.

Advanced Delete Selection

This command deletes the selection, and reconnects the links to the next nodes.

Duplicate Selection

This command allows you to duplicate the selection, for both nodes and links.

This command allows you to duplicate the selection, without links.

Reload Resources


Navigating in the graph

Use the following commands to navigate in the graph:

ActionCommand
ZoomMW
Fast ZoomShift + MW
Reset ZoomZ
PanMMB + Move
Fit in ViewF

See the list of all the shortcuts

Navigation Pins

Navigation Pins work like bookmarks in a book or web browser: they're a convenient way to record a position in a graph. When working on large, complicated graphs, using pins can help speed up navigation.

Adding a pin to a graph places a pin symbol at the chosen location, with a label alongside it.

Create a pin
  1. Right-click in the graph to display the Context menu, then chose "Add node" and "Navigation Pin" down the list.
  2. You can drag the pin wherever you wish.
  3. Double-click on the label to change it.
  4. Press Enter when you're done editing the pin's label.


When a graph has navigation pins added to it, you can jump from pin to pin by pressing F2 (forwards) or SHIFT+F2 (reverse order).

The pins are also accessible directly from the Pins submenu in the graph's context menu, by right-clicking in the graph view.


Frames

Frames allow to regroup nodes and move them altogether.

To create a frame, chose Add frame in the node menu: right-click->add node->add Frame


You can access the frame's properties by double clicking on the top frame bar.

  • Title Visible: Chose wether to display the title of the frame or not
  • Title: The title of the frame
  • Description: The description will be displayed in the frame
  • Frame Visible: If not visible, frames behave as Comments.
  • Frame Color: Chose the color of the frame.


New in SD 2017.1: you can now resize a frame, by selecting any corner:



 Comments

A comment displays a simple text comment in a box on the graph.

To create a comment, chose Add Comment in the node menu: right-click->Add node->Add Comment

As with Navigation Pins and Frames, you can drag a comment anywhere you wish, and double-click inside it to change its content. (Use Shift + Enter to insert a carriage return in the comment. Hitting Enter on its own will end the editing process.)

An example of a comment is shown below, revealing its author's taste for Italian food:


Comments allow you to document your graph, so that others can understand how it works.

Use comments and frames if you wish to share your .sbs files, it will be very useful!