smollerGraph 0.20.2
A small graph database, from scratch
Loading...
Searching...
No Matches
export.h File Reference
#include <string>
#include "absl/status/status.h"
#include "smollergraph/graph.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  smollergraph
 

Functions

absl::Status smollergraph::Export (const Graph &graph, const std::string &path)
 Writes the graph into the folder at path, for programs outside the database to read, such as a script that trains a model: nodes.jsonl, a line of JSON for each node, with its id, name, label and properties, and relationships.csv, a line for each relationship, with the ids of the nodes it joins and its type.