Skip to main content

Create Graph Edge

The Graph Edge collection is a form of document collection. It is used define relationships between two documents by using the _from and _to system attributes and the document _id system attribute.

Create a Graph Edge Collection with the Console

Follow these instructions to create a new collection using the GDN console web UI.

  1. Log in to your Macrometa account.

  2. Click Data > Collections.

  3. Click New Collection.

  4. Click Document Store.

  5. Enter information about the collection and then click Create.

    • Collection Name - Required. A unique name to distinguish the collection. Spaces are not allowed.
    • Geo Distribution - Select whether to store data globally or locally.
    • Enable Collection stream - Create a stream for this collection. You can do this now or after the collection is created.
    • Wait for sync - Synchronize to disk before completing document creation or update.

Create a Document Store Collection with Code

Refer to the Graph Edge Quickstart and Using Rest API for code examples.