Comments (3)
@jcaplan what's happening here is that nodes and edges are stored as dict
s. Dict ordering is guaranteed in 3.6 (https://docs.python.org/3.6/whatsnew/3.6.html#new-dict-implementation) but is not in previous versions. It would require significant implementation changes to preserve order in the previous version which I think is unnecessary.
So I think in terms of testing we either only test on 3.6+ or make the tests flexible enough to not require element ordering. I prefer the latter since testing on 3.4 has already had positive effects :)
from graphviz2drawio.
This is in graphviz2drawio or elsewhere? Shouldn't be too hard to change to OrderedDict if it's only in this project
https://docs.python.org/3/library/collections.html#collections.OrderedDict
from graphviz2drawio.
Will close this once edges are ordered
from graphviz2drawio.
Related Issues (20)
- Shapes are still not working
- multiple calls to convert fail HOT 1
- Make output file and stdout mutually exclusive
- Reorganize packages
- Convert cubic bezier in SVG to curved edges in Mx
- Generate documentation HOT 2
- raven HOT 4
- Crahses when open .dot file on Python 3.7 HOT 1
- Convetration error HOT 1
- Edge labeling HOT 1
- TypeError if charset is in handle of dot file HOT 1
- Support for compound=true HOT 1
- Subgraph conversion HOT 1
- fillcolor not refrected HOT 2
- Conversion fails in SVG.py due to <image> HOT 12
- Pip install pygraphviz fails on mac M1 HOT 1
- conversion fails on .dot file created by graphviz with python with a `path` shape HOT 2
- Exception in MxGraph.add_mx_geo_with_points HOT 3
- Python 3.4 circular imports HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphviz2drawio.