Skip to content

Export and share

Copying Node IDs and Labels

Copy node IDs and node labels by first highlighting the nodes in a view, then selecting either the Copy Labels button in the Node menu, or the Copy icon in the left-most Tool Bar to copy the node ID.

Exporting to CSV

To export a group nodes as a CSV file select the nodes you want to export, then select Export and Selected Subgraph as CSV. Two .csv files will be saved locally:

  1. ..._nodes.csv contains the following properties of every node in your selection: label, ID, URL, size, and colour.
  2. ..._edges.csv contains the weights of edges between nodes in your selection. Note that a DAG of depth 2 or 3 is considered here, otherwise an error will be raised.

Sharing a View

To share a view, right-click on the title of the view you wish to share and select Copy View URL.

How to share a graph

You can share your workspace (graph) with user groups and individuals using the Share menu located in the top right hand corner of your screen.

Either enter individual email addresses or choose from your available user groups, then select Share to save changes.

Note that only users whose email addresses have been granted permission to access your graph will be able to view the links generated by clicking the Copy link button in the share menu or Copy View URL button in the view menu.

How to duplicate a graph

Prior to sharing a graph, you might find it useful to make a duplicate. Simply click on the Duplicate button found within the graph settings menu, accessible through the navigation drawer.

Exporting a full graph

A full graph can be exported: * as a native .ed file which can be re-uploaded as a new graph, * to a networkx compatible JSON format which can be read in Python as follows:

import json
import networkx as nx
from drisk_api.interfaces.nx import node_link_to_nx

graph_id = "123"
filename = "exported_graph.json.zip"

with open(filename, r) as f:
    graph: nx.DiGraph = node_link_to_nx(graph_id, f)


Last update: 2024-07-17