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.

any advice? Thanks.

Do you have some advice? Thanks a lot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.