Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Edge.md

12 lines
891 B
Markdown
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
# Edge
## Description
An **Edge** defines a connection between two [Ports](Port.md). **Edges** define how data flows through the [Shader Graph](Shader-Graph.md) node network. They can only be connected from an input [Port](Port.md) to an output [Port](Port.md).
Each **Edge** has a [Data Type](Data-Types.md) which defines what [Ports](Port.md) it can be connected to. Each [Data Type](Data-Types.md) has an associated color for identifying its type.
You can create a new **Edge** by clicking and dragging from a [Port](Port.md) with the left mouse button. Edges can be deleted with Delete (Windows), Command + Backspace (OSX) or from the context menu by right clicking on the [Node](Node.md).
You can open a contextual [Create Node Menu](Create-Node-Menu.md) by dragging an **Edge** from a [Port](Port.md) with the left mouse button and releasing it in an empty area of the workspace.