Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
python-pydot
example-demo.py
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File example-demo.py of Package python-pydot
#! /usr/bin/python import pydot edges=[("Hello",2), ("Hello",3), ("Hello",4), (3,4)] g=pydot.graph_from_edges(edges, directed=True) g.write_jpeg('graph_from_edges_dot.jpg', prog='dot') g.write_svg( 'graph_from_edges_dot.svg', prog='dot')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor