Flowcharting in Python?

J

Justin

Hi guys,
Does anyone know of any code or projects around that are written in
Python or can be used by Python to write a flowcharting application? I
haven't been able to find any, but the closest thing I have come
across is FlowchartPython which allows you to code in Python from
flowcharts, which isn't what I want; something more like Microsoft
Visio.

I'm beginning to think I'll have to create something from scratch.

Thanks. :)
 
S

Stef Mientki

Justin said:
Hi guys,
Does anyone know of any code or projects around that are written in
Python or can be used by Python to write a flowcharting application? I
haven't been able to find any, but the closest thing I have come
across is FlowchartPython which allows you to code in Python from
flowcharts, which isn't what I want; something more like Microsoft
Visio.

I'm beginning to think I'll have to create something from scratch.

Thanks. :)
have you looked at the OGL module or FloatCanvas in wxPython ?
I also have a simplified version (10% of the code) but more powerful
OGL-like,
see here some examples what you can do with OGL-like
http://mientki.ruhosting.nl/data_www/pylab_works/pw_circuit_editor.html
http://mientki.ruhosting.nl/data_www/pylab_works/pw_bricks_2d_scene.html

cheers,
Stef
 
D

David Boddie

Have you looked at Skencil (nee Sketch)? It's a
vector/object-oriented drawing program written in Python:

http://www.skencil.org/

It's not really optimized for flowcharts or block diagrams
(IIRC, it doens't have any concept of connecting arcs between
polygrams), but you might be able to extend it.

Or maybe Dia is worth looking at, since it is aimed at diagram creation:

http://live.gnome.org/Dia/Python
I wouldn't think you'd have to start from scratch. You should
at least use one of the GUI frameworks that has some sort of
canvas widget.

PyQt4 contains an example called diagramscene.py which does simple
flowcharting. It might be useful to look at it to get some ideas.
Personally, I had thought about adapting it to create statecharts.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top