graphical call by a second : what is the format of outputs?

Hi everybody.

I want to do more graphics.

The first graphic call the others.

What is the formats of the graphs to do it?

I think the first graph is a svg with each URL of the other but i don't know for the other.(I saw that it was possible with SVG and HTML files) but i don't know how it with graphviz.

if the question has already been asked I'm sorry but I have not seen the topic.

Thanks

Thank you for your

Thank you for your answer.

Sorry for being late, I could not enter the site.

 

My needs are :

I do graph1 with my program (REXX)

Example :   node 1 -> node 2 -> node 3

                                           ->node 4

Node 1 is a graph too (like node 2,3,4)

I want if clik in node 1,I view the graph associated with a node 1 (Opening a new windows).

I understand that this is possible with graph1 in svg and graph ( node1 ) in HTML.

 

But is there another way with "simple" formats supported by graphviz ?

 Your question is not so much

 Your question is not so much about Graphviz as about web page programming. So you are going to have to use formats supported in your browser, which are typically SVG and HTML. The simplest approach is to have URLs attached to your nodes in the original svg output. Then when the user clicks on node 1, the URL is invoked. This can be set up to return whatever new page you want, including an SVG layout of the contents of node 1. One tool you can use is webdot, where you set up a server. The URL tells webdot which graph to use, what drawing program and what output format. With this, when a user clicks on a node, you will automatically get an SVG output of the contents of node 1.

Beyond this, you can use the technique I mentioned earlier, where you use javascript to handle what happens when the user clicks on a node. Related to this, you might be interested in viz.js, which can be used to run Graphviz on the browser.

Could you please be a bit

Could you please be a bit more specific as to what you are trying to do? In the simplest form, you can supply URL attributes to nodes, edges and graphs. These will be embedded in the svg or image map. When the user clicks on the object, the browser will invoke the URL. You can use the URL anyway you can in an ordinary webpage, going to a new page or invoking a dynamically created page.

For svg output, you can specify unique ids for the graph objects and use these in javascript to dynamically control your page.

Recent comments