[instaviz-users] Opinions wanted: Graphviz URL scheme

Glen Low glen.low at pixelglow.com
Fri Mar 20 19:37:28 CDT 2009


Petri

Thanks for your feedback.

On 21/03/2009, at 3:20 AM, Petri Sirkkala wrote:

> Hi Glen,
>
> I would use / characters for giving more information about the graph.
> For instance
> graphviz://Label/Graph 1/Layout/Tree/Background/lime/digraph G { hello
> -> world; }

Almost all the extra information can and should be encoded in the  
graph itself e.g.

graphviz:digraph G { graph [label="Graph 1", IVLayout="dot",  
bgcolor="lime"] hello -> world }

Instaviz uses a graph attribute of IVLayout to encode the layout  
scheme and IVFilename to encode the file name for the file. These  
would be the only attributes not understood by classic Graphviz.

>
>
> UTF-8 can be encoded to URL-coding, it just looks very encoded :).
>
> The URL is limited to certain amount of characters, usually less than
> 5000. I guess that is not a concern here.
>
> The internal dot-document that Graphviz produces uses uids for each
> node, even if node labels are unique and proper for dot-node
> identifiers. It would be nice if uids would be generated only when
> neccessary, so the exported dot file could be used to make these urls
> too.

I've been sweating a little over that. Need to figure out how to  
change the intrinsic "name" of the node in the Graphviz object model.




Cheers, Glen Low


---
pixelglow software | simply brilliant stuff
www.pixelglow.com
aim: pixglen
twitter: pixelglow



More information about the instaviz-users mailing list