Import and export#
Import and export of sequence databases, pattern sets and graphs.
object |
formats |
|---|---|
SequenceDatabase |
SPMF ( |
PatternSet |
SPMF output ( |
graphs |
GEXF (Gephi, with positions, colors, sizes), GraphML, GML, node-link JSON, Cytoscape JSON (with positions), Graphviz DOT, Pajek, CSV/Excel node and edge tables, igraph |
SPMF, CSV, JSON, XES, GEXF, GraphML, GML, Cytoscape, DOT, Pajek, Excel, igraph.
Functions#
|
Convert a python-igraph graph back to networkx ( |
|
Read a graph written by |
|
Read a pattern set written by |
|
Read a sequence database in SPMF format. |
|
Read an XES event log (IEEE 1849) without external dependencies. |
|
Cytoscape.js / Cytoscape desktop JSON with node positions. |
|
Convert to a python-igraph graph (node name in the |
|
Write a graph with all node and edge attributes (format from the extension). |
|
Write a pattern set; the format follows the extension. |
|
Write a database in SPMF format. |
|
Write a database as an XES event log (one trace per sequence, one event per item). |