Because dot/graphviz does all the hard/heavy lifting for me
(think of
all the line attributes that can be set, all the smart line
drawing dot
does, node details and shapes, html encoding, etc.).
Basically I just
want to use dot as usual, but leverage predefined starting
points for
all the nodes.
The other non-obvious (to me) step is to define the node
coordinates in
dot in such a way that they overlay with the underlying map
svg.
There's a graphviz "pos" attribute that I've not
yet attempted to use,
but seems like it gives one the ability to nail the location
of the nodes.
Thanks
steve roush wrote:
> I'm confused (as usual). If the node locations are
pre-defined (based
> on map coordinated), what do you need dot for?
> Why not place the node images & edges yourself?
>
> steve
>
>> Date: Sun, 08 Jun 2008 08:23:43 -0600
>> From: "bergenpeak comcast.net"
<bergenpeak comcast.net>
>> Subject: [graphviz-interest] dot on maps
>> To: "graphviz-interest research.att.com"
>> <graphviz-interest research.att.com>
>> Message-ID: <484BEB6F.1080309 comcast.net>
>> Content-Type: text/plain; charset=ISO-8859-1;
format=flowed
>>
>>
>> Is there a way to combine/tie graphviz output and
an underlying map
>> together?
>> I have a map in svg format and I would like to
define graphviz nodes
>> to exist at pre-defined fixed coordinates on this
map. I'd like to
>> use graphviz to render the nodes at the fixed
coordinates. graphviz
>> would also draw edges between the nodes.
Everything would be in svg
>> output format so browsing/zooming would work but
the nodes would
>> scale and yet remain at the predefined fixed
locations on the map.
>>
>> Is this possible? Examples of how to do this?
>>
>> Thanks
>>
>>
> _______________________________________________
> graphviz-interest research.att.com
> https://mailman.research.att.com/mailman/list
info/graphviz-interest
>
_______________________________________________
graphviz-interest research.att.com
https://mailman.research.att.com/mailman/list
info/graphviz-interest
|