473,500 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python module for making org charts?

Folks,

Does anyone know of a Python module for building organization charts? I've
looked at gdchart and JPGraph, but neither of them do org charts, as far as
I can tell. Seems it can be done with wxOGL in wxPython, but that's the
brute force approach. Any other options? Thanks.

Paul Gardella
Jul 18 '05 #1
4 10534
"Paul Gardella" <pg******@bbn.com> writes:
Does anyone know of a Python module for building organization charts? I've
looked at gdchart and JPGraph, but neither of them do org charts, as far as
I can tell. Seems it can be done with wxOGL in wxPython, but that's the
brute force approach. Any other options? Thanks.


Neither of these specifically know about org charts, but Graphviz (use
dot) and Reportlab are two options. But it shouldn't be much work in
any decent vector graphics API, I'd imagine. It's possible that dia
or sketch have code (maybe plugins) that specifically does org charts,
though.
John
Jul 18 '05 #2
John J. Lee wrote:
"Paul Gardella" <pg******@bbn.com> writes:
Does anyone know of a Python module for building organization
charts? I've looked at gdchart and JPGraph, but neither of them
do org charts, as far as
I can tell. Seems it can be done with wxOGL in wxPython, but
that's the
brute force approach. Any other options? Thanks.


Neither of these specifically know about org charts, but Graphviz
(use
dot) and Reportlab are two options. But it shouldn't be much work
in
any decent vector graphics API, I'd imagine. It's possible that
dia or sketch have code (maybe plugins) that specifically does org
charts, though.


That sounds like an answer to the output side, i.e. the need to
print org charts.

Related question -- Is there support for a digraph (directed graph)
*editor* in Python? I'd like to be able to edit state diagrams
and FSMs (finite state machines). I'm hoping to hook the Python
source code into my work on FSMs so that business rules and
processes can be encoded as FSMs.

I'm looking into PyUt. The documentation talks about some UML
diagrams (class, sequence, and use case diagrams), but I have not
found support for state transition diagrams. Maybe PyUt could be
extended.

Any other suggestions.

Dave

--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
dk******@rexx.com
Jul 18 '05 #3
Dave Kuhlman <dk******@rexx.com> writes:
John J. Lee wrote:
"Paul Gardella" <pg******@bbn.com> writes:
Does anyone know of a Python module for building organization
charts? I've looked at gdchart and JPGraph, but neither of them
[...] Neither of these specifically know about org charts, but Graphviz
(use dot) and Reportlab are two options. But it shouldn't be much
work in any decent vector graphics API, I'd imagine. It's
possible that dia or sketch have code (maybe plugins) that
specifically does org charts, though.
That sounds like an answer to the output side, i.e. the need to
print org charts.


No, it was primarily an answer to the "how to create" question. The
data structure / objects part looks easy, glancing at a few examples
on the web. Am I wrong?

Related question -- Is there support for a digraph (directed graph)
*editor* in Python? I'd like to be able to edit state diagrams

[...]

A GUI editor, you mean?
John
Jul 18 '05 #4
John J. Lee wrote:
Dave Kuhlman <dk******@rexx.com> writes:
[snip] No, it was primarily an answer to the "how to create" question.
The data structure / objects part looks easy, glancing at a few
examples
on the web. Am I wrong?

Related question -- Is there support for a digraph (directed
graph)
*editor* in Python? I'd like to be able to edit state diagrams

[...]

A GUI editor, you mean?


Right. I'd like to be able to (1) drop down bubbles/circles
(states), (2) connect then with arrows (transitions), (3) drag the
bubbles and watch the arrows stretch, (4) annotate the bubbles
(with names and comments) and arrows (with conditions and actions),
and (5) save the FSM as XML.

I can edit the XML representation of an FSM with my text editor
now. But, I'd like to be able to do it in a GUI editor. And, if
that GUI editor had connections of some sort to some kind of CASE
tools so much the better. PyUt + UML would seem to have that, but
PyUt does not support state transition diagrams.

I'm also investigating Leo. It's an outline/tree editor. That does
give some support for structure, but still does not let one "see"
the connections (arrows, transitions).

Dave

--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
dk******@rexx.com
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3516
by: Moosebumps | last post by:
Is there anything that is made to generate web pages which have charts similar to the yahoo finance stock charts? Not looking to graph stocks specifically, but anything. I like how you can zoom...
3
2592
by: John Hunter | last post by:
matplotlib is a 2D plotting library for python. You can use matplotlib interactively from a python shell or IDE, or embed it in GUI applications (WX, GTK, and Tkinter). matplotlib supports many...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7232
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.