Skip to main content

Manage Graph Vertices

This page explains various methods for managing vertices, also called nodes, in Macrometa graphs.

Create a Vertex

These instructions provide several methods of creating a new vertex in an existing graph.

Follow these instructions to create a graph vertex using the GDN console web UI.

  1. Log in to your Macrometa account.

  2. Click Data > Graphs.

  3. Click the graph that you want to create a vertex for.

  4. Click an empty space on the canvas, then click the plus sign that appears.

  5. (Optional) In the Create node window, enter the vertex _key. If you do not enter a key, then Macrometa automatically generates one for you.

  6. In the Create node window, select the Collection to add the vertex to.

  7. Click Create.

    A new vertex appears on the canvas and a new vertex record appears in the collection that you selected. You can now edit the vertex to add attributes or connect the vertex to other vertices with edges.

View a Vertex

These instructions provide several methods of viewing a graph vertex.

Follow these instructions to view a graph vertex using the GDN console web UI.

  1. Log in to your Macrometa account.

  2. Click Data > Graphs.

  3. Click the graph that you want to view a vertex for.

  4. Click the vertex that you want to view.

  5. Click Edit (the pencil icon).

    Macrometa displays the vertex record associated with the vertex that you clicked.

Update a Vertex

These instructions provide several methods of updating a graph vertex. Updating means that you to specify which vertex properties to update and leave the rest of the properties unchanged. If you want to update all the properties, then you should Replace a Vertex.

Follow these instructions to update a graph vertex using the GDN console web UI.

  1. Log in to your Macrometa account.

  2. Click Data > Graphs.

  3. Click the graph for which you want to update a vertex.

  4. Click the vertex that you want to update.

  5. Click Edit (the pencil icon).

    Macrometa opens the vertex record in an editing window.

  6. Update any information necessary.

  7. Click Save.

Replace a Vertex

These instructions provide several methods of replacing a graph vertex. This command completely overwrites the existing vertex document with a new one, including any properties that were not explicitly included in the new document. In other words, all properties not present in the new document are removed. If you only want to update some of the properties, then you should Update a Vertex.

Follow these instructions to replace a graph vertex using the GDN console web UI.

  1. Log in to your Macrometa account.

  2. Click Data > Graphs.

  3. Click the graph for which you want to replace a vertex.

  4. Click the vertex that you want to replace.

  5. Click Edit (the pencil icon).

    Macrometa opens the vertex record in an editing window.

  6. Update any information necessary.

  7. Click Save.

Delete a Vertex

These instructions provide several methods of deleting a vertex from a graph.

Follow these instructions to delete a graph vertex using the GDN console web UI.

  1. Log in to your Macrometa account.
  2. Click Data > Graphs.
  3. Click the graph for which you want to delete a vertex.
  4. Click the vertex that you want to delete.
  5. Click Delete (the trash can icon).
  6. In the Delete node window, indicate whether you want to delete the edges and then click Delete.
  7. Macrometa asks you to confirm the deletion. Click Yes.

List Vertex Collections

These instructions provide several methods of listing vertex collections associated with a graph.

Use our interactive API Reference with code generation in 18 programming languages to List Vertex Collections.

Add a Vertex Collection

These instructions provide several methods of adding a vertex collection to a graph.

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

  1. Log in to your Macrometa account.
  2. Click Data > Graphs.
  3. Click Edit next to the graph that you want to add a vertex collection to.
  4. Click in the From Collections, To Collections, or Vertex Collections field, and then select the vertex collection that you want to add. You can do this more than once.
  5. Click Update.

Remove a Vertex Collection

These instructions provide several methods of removing a vertex collection from a graph.

Follow these instructions to remove a vertex collection from a graph using the GDN console web UI.

  1. Log in to your Macrometa account.
  2. Click Data > Graphs.
  3. Click Edit next to the graph that you want to remove a vertex collection from.
  4. In the From Collections, To Collections, or Vertex Collections field, click the X next to the vertex collection that you want to remove. You can do this more than once.
  5. Click Update.