rustworkx
rustworkx copied to clipboard
Add reverse direction serialization
What is the expected enhancement?
Right now rustworkx has a json node link serializer (https://qiskit.org/documentation/rustworkx/apiref/rustworkx.node_link_json.html#rustworkx.node_link_json) and a graphml deserializer (https://qiskit.org/documentation/rustworkx/apiref/rustworkx.read_graphml.html#rustworkx.read_graphml) but no reverse path functions. We should add a node link json deserializer (to read node link json into a graph object) and a graphml serializer (to generate a graphml payload from a graph object) so that you can round-trip a graph over a serialization format.
Also the dot file from graph.to_dot()
we should have a from_dot()
too https://qiskit.org/documentation/retworkx/dev/apiref/rustworkx.PyGraph.to_dot.html
Feel free to assign this to me @mtreinish have some work in progress on this.
Sure thing, I've assigned you to this issue
Had some other priorities pop up, returning this now 👍
Hey, @AngeloDanducci I was wondering how this was going and if you needed any help.