Extend NxTranslator
#246
Labels
community
community
Effort - Medium
Effort - Medium
feature
feature
Frequency - Monthly
Frequency - Monthly
Priority - Later
Priority - Later
Reach - VeryFew
Reach - VeryFew
Severity - S3
Severity - S3
The
NxTranslator
has been changed to inherit from theTranslator
class, but not all of its parts of code have been adjusted accordingly. For example:to_cypher_queries_parallel
, sincenx_to_cypher
was changed intoto_cypher_queries
): https://github.com/memgraph/gqlalchemy/blob/main/gqlalchemy/transformations/translators/nx_translator.py#L174id
while for PyG and DGL, it saves them aspyg_id
anddgl_id
, respectively. It can be changed, but not necessarily.Besides that, import and export are not following the same set of rules.
Translate from Nx graph to Memgraph rules:
labels
key in Nx graph -> node labels in MemgraphTYPE
key in Nx graph -> relationship type in MemgraphTranslate from Memgraph graph to Nx graph rules:
label
key in Nx graphtype
key in Nx graphThe text was updated successfully, but these errors were encountered: