Posted by HawkEye on 11/19/05 00:10
Hi folks, I think I'm trying to do if not the impossible at least the VERY
difficult here and would appreciate some advice.
Basically I want to create a dynamic organisation chart. Why ? Cos it would
look real cool on the Intranet I maintain and get me lots of brownie points
;) However I have hit a brick wall. I have my table in MySQL with the
data in it. I can traverse it using MPTT (Modified Preorder Tree Traversal)
and get the data out in the 'correct' order so it is threaded almost.
What I am really struggling with is the last bit of displaying it like a
proper Org Chart. No one anywhere seems to do dynamic flow charts in php
let alone org charts. Is this because it is waay too difficult or not
possible or am I just not typing the correct search term into Google ??
I can get around it by using a really ugly hack of giving each element a
div id and then using css. But that means should the data in the db change
I have to redo almost from scratch the css file. Not the best ever dynamic
page :)
Any help really appreciated as I'm starting to go bald here trying to work
it out.
Cheers
--
Regards
Neil
Registered Linux User 324599
Hardware: the parts of the computer you can kick
[Back to original message]
|