473,554 Members | 2,290 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 10572
"Paul Gardella" <pg******@bbn.c om> 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.c om> 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.c om
Jul 18 '05 #3
Dave Kuhlman <dk******@rexx. com> writes:
John J. Lee wrote:
"Paul Gardella" <pg******@bbn.c om> 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.c om
Jul 18 '05 #5

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

Similar topics

3
3519
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 on each axis, and maybe click to see numerical values and such. If there isn't anything in Python, what do people typically use for that kind of...
3
2604
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 plot types: line plots, bar charts, log plots, images, pseudocolor plots, legends, date plots, finance charts and more. What's new since...
0
7814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8053
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7576
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7895
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6163
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5443
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5165
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3564
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
853
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.