KrzyHonk / bpmn-python

Project for creating a Python library that allows to import/export BPMN diagram (as an XML file) and provides a simple visualization capabilities
GNU General Public License v3.0
65 stars 44 forks source link

AttributeError: 'Graph' object has no attribute 'edge' #31

Closed HimanshuHalder closed 5 years ago

HimanshuHalder commented 6 years ago

While trying to execute I am getting below error: 'Graph' object has no attribute 'edge'

Which is being thrown from this bpmn_diagram_rep.py , method 'add_sequence_flow_to_diagram' (LN : 483). After doing little investigation I could see that there is nothing called edge in networkx.

Please let me know if any one have any solution around it.

I am pretty new in python. Need help or fix so that I can use it for my project.

Dylek commented 6 years ago

Try using earlier version of networkx library. I am using networkx version 1.11rc1 and it works.