How to import the GraphML schema and data into TigerGraph DB


GraphML is a comprehensive and easy-to-use file format for graphs. It consists of a language core to describe the structural properties of a graph and a flexible extension mechanism to add application-specific data. Its main features include support of

  • directed, undirected, and mixed graphs,
  • hypergraphs,
  • hierarchical graphs,
  • graphical representations,
  • references to external data,
  • application-specific attribute data, and
  • light-weight parsers.

Unlike many other file formats for graphs, GraphML does not use a custom syntax. Instead, it is based on XML and hence ideally suited as a common denominator for all kinds of services generating, archiving, or processing graphs.

Need help?

1) Install the project dependencies:

user@box:~$ python3 -m venv venv
user@box:~$ source venv/bin/activate
(venv) user@box:~$ pip install -r requirements.txt

2) Edit the default values: (See Table in README)

3) after Installing the dependencies and configuring the variables, use the following command:

(venv) user@box:~$ python

Current Features

  • Parse graphml File
  • Parse graphml Header
  • Parse graphml GRAPH
  • Parse graphml Nodes and Edges and Attributes
  • Convert Parsed Schema to GSQL and Create Graph
  • Load Data from graphml file

Important Links

Get Help

‍Request Features

If you have a feature request, user feature request form Feature Request?