Editing Schema

Adding a Label

In the metadata list on the left of the graph editor, click to add a label. The new label is displayed on the top.
  • Set Label Name to the name of the label to be added.
  • Set Label Type to Node or Edge, and select color and label to distinguish vertices.
  • Add properties. By default, only the first added property is displayed on the canvas. You can manually adjust the property to be displayed. The canvas will respond in real time.
    Figure 1 Adding a label

Hiding a Label

  • Hide all vertices and edges of a label.

    In the metadata list on the left of the graph editor, click the eye button next to metadata to hide all vertices and edges of the metadata.

    Figure 2 Hiding a label
  • Hide the vertices and edges of the selected label
    On the canvas, click any .
    • is the hide button. By default, all data is displayed in the graph. You can click the button next to a label to hide the vertices and edges of the selected label. That is, the vertices and edges of the label are not displayed or dimmed on the canvas.
    • indicates label-based entity filtering. You can click the button to display the vertices and properties of the label.

Importing and Exporting Labels

You can import the metadata, edge data, and vertex data of a graph to or export them from an OBS bucket.

  • Import: Click Import in the metadata list. In the dialog box that is displayed, set Metadata, Edge Data, Vertex Data, Log Storage Path, Edge Processing, and Import Type, and click OK to import the data from the OBS bucket to a graph.
    • Log Storage Path: Stores vertex and edge data sets that do not comply with the metadata definition, as well as detailed logs generated during graph import.
    • Edge Processing: Includes Allow repetitive edges, Ignore subsequent repetitive edges, Overwrite previous repetitive edges, and Ignore labels on repetitive edges. Repetitive edges have the same source vertex and target vertex. When labels are considered, repetitive edges must have the same source and target vertices and the same labels.
    Figure 3 Importing metadata

  • Export: Click Export in the metadata list. In the dialog box that is displayed, set Metadata Name, Vertex Data Set, Edge Data Set, and Export Path, and click OK to export the data to the OBS bucket.
    Figure 4 Exporting metadata