Due to organizational changes, the Graphviz web site will see some modifications in the near future. In particular, it will probably no longer provide binary packages for Windows and Macs. The latter can be obtained via Macports or Home Brew. If someone wants to set up Appveyor for Windows, we would be grateful. |

# Different spline-styles on different levels not possible?

Is it right, that it is not possible to create edges with different spline-styles in one graph or do I have a mistake somewhere? I'd like to have a graph like the following one with "true splines" from first to second level and straight lines between all other levels. But the line from D1 to D6 is bend, even if I use "splines = false" for this edge.

Digraph G {

node [shape = record];

rankdir = LR;

A0 -> LONGTEXT [splines = true];

A0 -> B1 [splines = true];

A0 -> C1 [splines = true];

A0 -> D1 [splines = true];

A0 -> E1 [splines = true];

A0 -> F1 [splines = true];

A0 -> G1 [splines = true];

A0 -> H1 [splines = true];

A0 -> I1 [splines = true];

A0 -> J1 [splines = true];

B1 -> B2 [splines = false];

C1 -> C2 [splines = false];

C1 -> C3 [splines = false];

C1 -> C4 [splines = false];

D1 -> D2 [splines = false];

D1 -> D3 [splines = false];

D1 -> D4 [splines = false];

D1 -> D5 [splines = false];

D1 -> D6 [splines = false];

H1 -> H2 [splines = false];

I1 -> I2 [splines = false];

J1 -> J2 [splines = false]}

## Recent comments

- no solution, but some comments on MVSC and Windows64

2 weeks 18 hours ago - I need permission to see the

2 weeks 23 hours ago - No solution, I also encountered such a problem

2 weeks 1 day ago - The graph and error

2 weeks 2 days ago - The best thing to do would be

2 weeks 3 days ago - By default, if you have an

2 weeks 3 days ago - I thought the mountain lion

2 weeks 3 days ago - Neato for Mac Maverick

2 weeks 4 days ago - Use headlabel and

4 weeks 1 day ago - 1) The dot layout makes no

4 weeks 2 days ago

## It is true that the splines

It is true that the splines attribute is a graph attribute, and not an edge attribute. However, you can pretty much get what you want by doing

dot in.gv | gvpr -c 'E[$.splines=="false"]{$.pos=""}' | neato -n2

## I didn't use gvpr so far and

I didn't use gvpr so far and I'm not familiar with it's syntax. Trying this advice I get the error message:

gvpr: expected keyword BEGIN/END/N/E...; found ''', line 1

## Please tell me what command

Please tell me what command shell environment you are using. Different shells have different quoting conventions.

One way to avoid all of these is to create a file, say spline.gvpr, whose content is

E[$.splines=="false"]{$.pos=""}

and then run dot in.gv | gvpr -c -fspline.gvpr | neato -n2 ...

## gvpr in Windows environment

I work with a simple Windows7-"DOS-Box". With the workaroud you suggested I was able to solve my problem with splines and straight lines. But I found an other problem that I will describe in a new thread.