Skip to main content

Add Graph Edge

This page explains how to add edges to a graph or Graph Edge collection.

You can add edges and edge definitions using either the graph commands or the collection commands. Best practice is to use the graph commands in most cases.

Follow these instructions to add a graph edge using the GDN console web UI.

  1. Log in to your Macrometa account.
  2. Click Data > Graphs.
  3. Click the graph to which you want to add edges.
  4. Click the vertex that is the beginning of the edge that you want to add, and then click the link icon (looks like a chain).
  5. Click the vertex that is the end of the edge that you want to add.
  6. (Optional) In the Create Edge screen, enter the _key if you want to assign a key.
  7. (Optional) In the Create Edge screen, select the Edge Collection that you want to add the edge to (if you have more than one edge collection in the graph).
  8. Click Create.