|
smollerGraph 0.20.2
A small graph database, from scratch
|
#include "smollergraph/export.h"#include <sys/stat.h>#include <cerrno>#include <fstream>#include <string>#include "absl/status/status.h"#include "absl/strings/str_cat.h"#include "smollergraph/api.h"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. | |