Setting Up Allowed Connections
BeginnerSetting Up Allowed Connections
Allowed Connections define which Node Types can be connected by which Relationship Types. You must set these up before you can draw relationships on the canvas.
Step-by-Step
- First, make sure you have at least one Relationship Type and two Node Types created
- Select the Relationship Type in the Tree View (e.g., "runs_on")
- Open the Properties Panel (right side)
- Find the Allowed Connections section
- Click + Add Allowed Connection
- Select the Source Node Type (e.g., "Application")
- Select the Target Node Type (e.g., "Server")
- The allowed connection is saved immediately
Adding Multiple Allowed Connections
A single Relationship Type can have many Allowed Connections:
- "depends_on": Application → Application, Application → Service, Service → Service
- "manages": Person → Person, Person → Team
Just repeat the steps above for each valid combination.
Directionality
Allowed Connections are directional:
- Application → runs_on → Server means you can draw from Application to Server
- It does NOT automatically allow Server → runs_on → Application
- If you need both directions, add both as separate Allowed Connections
Verifying Your Setup
To check if connections are set up correctly:
- Place two nodes of the relevant types on a diagram
- Try drawing a relationship between them
- If the popup shows available relationship types, your Allowed Connections are working
- If nothing happens, review the Allowed Connections on your Relationship Types