Hello,
I want to use Graphviz to produce dynamic organizational chart with php array or json.
Here is my idea: Use php array or json get the data from mysql database, then save the data to dot file, and then produce the dynamic org chart using pear Image_graphviz and implement it into the php page.
Now, i don't know how to save the data to dot file, because the format is very different.
So i come here for help, does anyone ever do this or can give me some advice?
Thanks a lot.