Graphics graphviz中边和节点的布局

Graphics graphviz中边和节点的布局,graphics,graphviz,dot,postscript,Graphics,Graphviz,Dot,Postscript,在graphviz中,我希望有一条不穿过节点的边。 这是我的图表: digraph G { rankdir=LR; fontname = "Bitstream Vera Sans"; fontsize = 8; node [ fontname = "Bitstream Vera Sans" fontsize = 8 shape = "record" ]; edge [ fontname = "Bitstream Vera Sans" font

在graphviz中,我希望有一条不穿过节点的边。 这是我的图表:

digraph G {
 rankdir=LR;
 fontname = "Bitstream Vera Sans";
 fontsize = 8;

  node [
   fontname = "Bitstream Vera Sans"
   fontsize = 8
   shape = "record"
  ];

  edge [
    fontname = "Bitstream Vera Sans"
   fontsize = 8
 ];

  MethodContext [
    label = "{ <head> MethodContext | <parent> parent \l| nativeIP \l | ip \l| sp \l| receiver \l| method  \l|  flags \l| Temp Var 1 \l Temp Var 2 \l ... \l Temp Var n \l| Stack \l ... \l Stack \l }"
  ];

  MethodContext:parent -> MethodContext:head [tailport=e];
}
有向图G{
rankdir=LR;
fontname=“Bitstream Vera Sans”;
fontsize=8;
节点[
fontname=“Bitstream Vera Sans”
字体大小=8
shape=“记录”
];
边缘[
fontname=“Bitstream Vera Sans”
字体大小=8
];
MethodContext[
label=“{MethodContext | parent\l | nativeIP\l | ip\l | sp\l | receiver\l | method\l | flags\l | Temp Var 1\l Temp Var 2\l…\l Temp Var n\l | Stack\l…\l Stack\l}”
];
MethodContext:parent->MethodContext:head[tailport=e];
}
没有排气口,我得到了一个很好的垂直图,除了边缘穿过节点。但是,只要我添加
[tailport=e]
,就像在示例中一样,我的图形是水平的,并且边缘仍然穿过节点

如何保持节点垂直,并将边附着到右侧


感谢那些想知道解决方案是什么的人

MethodContext:parent -> MethodContext:head:e;

谁想知道解决办法是什么

MethodContext:parent -> MethodContext:head:e;