DataJoint Diagram does not work with the latest version of pydot/networkx across Python 3.10-3.12; encapsulating double quotes needed #1175
Labels
bug
Indicates an unexpected problem or unintended behavior
Bug Report
Description
DataJoint's Diagram feature does not work properly with recent versions of
pydot
andnetworkx
packages because node_ids containing.
are not encapsulated in double quotes"
an required by DOT language specification for graphviz. This is seen when examining the dot string representation generated bynetworkx.drawing.nx_pydot.to_pydot
Trunctaed
dot_str
below. This fails when run throughdot -Tsvg
but passes if wrapped in"
.Testing of networkx
Here is a working example using
networkx
directly:and excluding the double quotes results in the same error as calling
Diagram()
Reproducibility
Include:
The text was updated successfully, but these errors were encountered: