List Info

Thread: Re: Parallel edge feature




Re: Parallel edge feature
country flaguser name
United States
2008-06-08 09:14:37
Another followup question to the "parallel edge"
feature.

Per the example in the docs, the dot file:

  digraph G {
    a -> b [dir=both color="red:blue"]
  }


Yields a red line with red arrow head pointing to node
"b" and a blue 
line with blue arrow head pointing to node "a".

Now, what should the arrow head colors be for the following
dot file?

  digraph G {
    a -> b [dir=both color="red:red:blue"]
  }


I was hoping the arrow heads would remain blue and red but
instead both 
are now red.  Should they both be red or should one remain
blue and the 
other red?  Is there a way to have >2 parallel edges yet
get the 
different arrow head colors?

Thanks






_______________________________________________
graphviz-interestresearch.att.com
https://mailman.research.att.com/mailman/list
info/graphviz-interest

Re: Parallel edge feature
country flaguser name
United States
2008-06-08 10:31:42
bergenpeakcomcast.net wrote:
>
> Another followup question to the "parallel
edge" feature.
>
> Per the example in the docs, the dot file:
>
>  digraph G {
>    a -> b [dir=both color="red:blue"]
>  }
>
>
> Yields a red line with red arrow head pointing to node
"b" and a blue 
> line with blue arrow head pointing to node
"a".
>
> Now, what should the arrow head colors be for the
following dot file?
>
>  digraph G {
>    a -> b [dir=both color="red:red:blue"]
>  }
>
>
> I was hoping the arrow heads would remain blue and red
but instead 
> both are now red.  Should they both be red or should
one remain blue 
> and the other red?  Is there a way to have >2
parallel edges yet get 
> the different arrow head colors?

Not currently.

Perhaps we could have "headcolor" and
"tailcolor" attributes.  Would you 
care to code up a patch for this?

John
_______________________________________________
graphviz-interestresearch.att.com
https://mailman.research.att.com/mailman/list
info/graphviz-interest

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )