Setting Up Allowed Connections

Beginner

Setting 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

  1. First, make sure you have at least one Relationship Type and two Node Types created
  2. Select the Relationship Type in the Tree View (e.g., "runs_on")
  3. Open the Properties Panel (right side)
  4. Find the Allowed Connections section
  5. Click + Add Allowed Connection
  6. Select the Source Node Type (e.g., "Application")
  7. Select the Target Node Type (e.g., "Server")
  8. 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:

  1. Place two nodes of the relevant types on a diagram
  2. Try drawing a relationship between them
  3. If the popup shows available relationship types, your Allowed Connections are working
  4. If nothing happens, review the Allowed Connections on your Relationship Types