Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73342 > unrolled thread

Create flowcharts from Python

Started byNagy László Zsolt <gandalf@shopzeus.com>
First post2014-06-17 17:32 +0200
Last post2014-06-19 16:05 +0200
Articles 5 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Create flowcharts from Python Nagy László Zsolt <gandalf@shopzeus.com> - 2014-06-17 17:32 +0200
    Re: Create flowcharts from Python alex23 <wuwei23@gmail.com> - 2014-06-18 12:09 +1000
    Re: Create flowcharts from Python Miki Tebeka <miki.tebeka@gmail.com> - 2014-06-17 22:12 -0700
      Re: Create flowcharts from Python Nagy László Zsolt <gandalf@shopzeus.com> - 2014-06-18 10:46 +0200
    Re: Create flowcharts from Python Wolfgang Keller <feliphil@gmx.net> - 2014-06-19 16:05 +0200

#73342 — Create flowcharts from Python

FromNagy László Zsolt <gandalf@shopzeus.com>
Date2014-06-17 17:32 +0200
SubjectCreate flowcharts from Python
Message-ID<mailman.11107.1403019133.18130.python-list@python.org>
Is there a library for Python that can easily create flowcharts using a 
simple API? I have a set of business rules that can be represented by a 
flowchart. These rules are stored in a database, and I need to display 
them for the end user. It is not a fixed set of rules, the users are 
going to change them frequently. I already have a rather difficult GUI 
where nodes and links are listed and they can be configured. But the 
users want to see this as a  visual flowchart too. It would be the best 
to have it automatically arranged; or at least open it an editor so they 
can move the nodes and see how they are connected.

Is there such thing for Python?

Thanks,

    Laszlo

[toc] | [next] | [standalone]


#73347

Fromalex23 <wuwei23@gmail.com>
Date2014-06-18 12:09 +1000
Message-ID<lnqsdf$99m$1@dont-email.me>
In reply to#73342
On 18/06/2014 1:32 AM, Nagy László Zsolt wrote:
>
> Is there a library for Python that can easily create flowcharts using a
> simple API?

The diagram application Dia comes with a Python API:

https://wiki.gnome.org/Apps/Dia/Python

[toc] | [prev] | [next] | [standalone]


#73349

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2014-06-17 22:12 -0700
Message-ID<9a0b2e55-62ae-46e9-b940-c75f69c069b7@googlegroups.com>
In reply to#73342
> Is there a library for Python that can easily create flowcharts using a 
> simple API?
Maybe https://code.google.com/p/pydot/ ?

[toc] | [prev] | [next] | [standalone]


#73357

FromNagy László Zsolt <gandalf@shopzeus.com>
Date2014-06-18 10:46 +0200
Message-ID<mailman.11113.1403085367.18130.python-list@python.org>
In reply to#73349

>> Is there a library for Python that can easily create flowcharts using a
>> simple API?
> Maybe https://code.google.com/p/pydot/ ?
Found another one: http://pygraphviz.github.io/ - this one seems to have 
better documentation. pydot may be functional but I could not find 
documentation on it.

[toc] | [prev] | [next] | [standalone]


#73432

FromWolfgang Keller <feliphil@gmx.net>
Date2014-06-19 16:05 +0200
Message-ID<20140619160532.1395b8368665abe2a2b9ba2b@gmx.net>
In reply to#73342
> Is there a library for Python that can easily create flowcharts using
> a simple API?

Graphviz (->TikZ->LaTeX->PDF)

> But the users want to see this as a  visual flowchart too. It would
> be the best to have it automatically arranged; or at least open it an
> editor so they can move the nodes and see how they are connected.

I think Dia and yEd can im-/export dot (Graphviz format) and/or TikZ.

Sincerely,

Wolfgang

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web