hbmartin / graphviz2drawio

Convert graphviz (dot) files into draw.io / lucid (mxGraph) format
http://graphviz2drawio.rtfd.io
GNU General Public License v3.0
164 stars 33 forks source link

Tests #6

Closed jcaplan closed 5 years ago

jcaplan commented 5 years ago

Related to issue #5

Note that python 3.4 has an import problem. The other two failures suffer from the KeyError: 'fill' already reported

Once hello world build passes, then the list of files tested can grow incrementally.

jcaplan commented 5 years ago

those are the names of the files in the graphviz.gitlab.io repository. I just copied them over.

hbmartin commented 5 years ago

@jcaplan what is the 3.4 import problem?

jcaplan commented 5 years ago

It looks like a circular dependency. SVG imports NodeFactory imports SVG.

 File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/graphviz2drawio/__main__.py", line 2, in <module>
    from .graphviz2drawio import convert
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/graphviz2drawio/graphviz2drawio.py", line 4, in <module>
    from .models import SVG
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/graphviz2drawio/models/SVG.py", line 3, in <module>
    from graphviz2drawio.mx.NodeFactory import NodeFactory
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/graphviz2drawio/mx/NodeFactory.py", line 1, in <module>
    from graphviz2drawio.models import SVG
ImportError: cannot import name 'SVG'