architxt.database.export.cypher#
Functions
|
Delete the _architxt_oid property from all nodes in the graph. |
|
Export the graph instance as a dictionary using Neo4j. |
|
Export the group to the graph. |
|
Export the relation to the graph. |
|
Export the relation edge with data to the graph. |
|
Export the tree to the graph. |
|
Get the properties of a node. |
- architxt.database.export.cypher.delete_id_column(session)[source]#
Delete the _architxt_oid property from all nodes in the graph.
- Parameters:
session (
Session
) – Neo4j session.- Return type:
- architxt.database.export.cypher.export_cypher(forest, session)[source]#
Export the graph instance as a dictionary using Neo4j.
- Parameters:
session (
Session
) – Neo4j session.forest (
Collection
[Tree
]) – The forest to export.
- Return type:
- Returns:
A generator that yields dictionaries representing the graph.
- architxt.database.export.cypher.export_group(group, session)[source]#
Export the group to the graph.
- architxt.database.export.cypher.export_relation(tree, session)[source]#
Export the relation to the graph.
- architxt.database.export.cypher.export_relation_edge_with_data(edge_data, session)[source]#
Export the relation edge with data to the graph.