Re: [graphviz-interest] How do I make 3 edges meet seamlessly at a point?
Ron Savage <[email protected]> Sun, 31 Aug 2014 08:03:14 +1000
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
Hi John
On 31/08/14 03:53, John Ellson wrote:
> Good question. I thought we had a way of doing this, but the best I
> could do today was:
>
> digraph Perl
> {
> edge [color=grey]
> node [shape=oval style=filled]
> Carnegie [color=aquamarine]
> Murrumbeena [color=bisque]
> Oakleigh [color=blueviolet]
> one [width=0 height=0 fixedsize=1 label="" color=grey]
> Murrumbeena -> one [arrowhead=none]
> Carnegie -> one [arrowhead=none]
> one -> Oakleigh [tailclip=0]
> }
>
> which still isn't perfect as you can see from the attached zoom-in image
> of the junction.
>
> This attributres for node "one" still have finite pensize, so its still
> drawing a filled oval. If you set pensize=0 it leaves a tiny fill, but
> there is still a gap as if the nodesize is still not really 0.
Many thanx! That's significantly better on the eye than my code.
> Perhaps we should add a "shape=zero" that does this properly...
It used to work. I've commented more in my reply to Emden.
> There is an edge feature called "concentrate" that sound like it should
> do this .. but I couldn't get it to do anything.
I had not noticed that option. I'll play with it.
> John
>
>
>
> On 08/29/2014 07:35 PM, Ron Savage wrote:
>> Hi
>>
>> This is dot - graphviz version 2.38.0 (20140413.2041).
>>
>> The best I can do is:
>>
>> digraph Perl
>> {
>> graph [ rankdir="TB" ]
>> node [ shape="oval" ]
>> edge [ color="grey" ]
>> node [ shape="oval" style="filled" ]
>> "Carnegie" [ color="aquamarine" ]
>> "Murrumbeena" [ color="bisque" ]
>> "Oakleigh" [ color="blueviolet" ]
>> "one" [ fixedsize="shape" height="0" style="invis" width="0" ]
>> "Murrumbeena" -> "one" [ arrowhead="none" samehead="1" ]
>> "Carnegie" -> "one" [ arrowhead="none" samehead="1" ]
>> "one" -> "Oakleigh" [ sametail="1" ]
>> }
>>
>> But this leaves a small gap at the top of the vertical edge.
>>
>> Is there some option which forces this gap to vanish?
>>
>
>
>
> _______________________________________________
> [email protected]
> http://lists.research.att.com/mailman/listinfo/graphviz-interest
>
--
Ron Savage - savage.net.au
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest