We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum example to demonstrate error:
from N2G import yed_diagram from graphml2svg import Graph diagram = yed_diagram() sample_list_graph = [ { 'source': {'id': 'SW1', 'top_label': 'CORE', 'bottom_label': '1,1,1,1'}, 'src_label': 'Gig0/0', 'target': 'R1', 'trgt_label': 'Gig0/1'}, {'source': {'id': 'R2', 'top_label': 'DC-PE'}, 'src_label': 'Gig0/0', 'target': 'SW1', 'trgt_label': 'Gig0/2'}, {'source': { 'id':'R3', 'bottom_label': '1.1.1.3' }, 'src_label': 'Gig0/0', 'target': 'SW1', 'trgt_label': 'Gig0/3' }, {'source': 'SW1', 'src_label': 'Gig0/4', 'target': 'R4', 'trgt_label': 'Gig0/1'}, {'source': 'SW1', 'src_label': 'Gig0/5', 'target': 'R5', 'trgt_label': 'Gig0/7'}, {'source': 'SW1', 'src_label': 'Gig0/6', 'target': 'R6', 'trgt_label': 'Gig0/11'} ] diagram.from_list(sample_list_graph) diagram.dump_file(filename="Sample_graph.graphml", folder="./") path_2_graph = './Sample_graph.graphml' g = Graph(path_2_graph) g.run()
Traceback:
File "C:\Users\sm\source\repos\PythonApplication1\PythonApplication1\env2058\lib\site-packages\graphml2svg\graph.py", line 141, in parse_edges ls['width'], bend['smoothed'], path['sx'], path['sy'], path['tx'], KeyError: 'sx'
pip freeze (env2058) PS C:\Users\ssm> pip freeze
bcrypt==3.2.0 cffi==1.14.6 cryptography==3.4.7 graphml2svg==0.0.4 N2G==0.1.2 Nuitka==0.6.16.3 paramiko==2.7.2 paramiko-expect==0.3.0 pycparser==2.20 PyNaCl==1.4.0 python-igraph==0.9.6 six==1.16.0 svgwrite==1.4.1 texttable==1.6.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Minimum example to demonstrate error:
Traceback:
pip freeze
(env2058) PS C:\Users\ssm> pip freeze
The text was updated successfully, but these errors were encountered: