Graph 点(图形)中直线之间的连接弧

Graph 点(图形)中直线之间的连接弧,graph,graphviz,dot,Graph,Graphviz,Dot,我必须为我的AI课程制作一个状态空间图,我希望使用GraphViz来制作它(比Dia快得多)。有一件事我似乎不知道该怎么做,那就是如何做一个“和”连接,基本上是连接到同一节点的两条线之间的一条弧。这可能吗 是的。虽然没有明确的点语法,但几乎总是这样: # just graph set-up digraph new_graph { ratio = "auto" mincross = 2.0 # draw some nodes "001" [shape=box, regular=1, style=

我必须为我的AI课程制作一个状态空间图,我希望使用GraphViz来制作它(比Dia快得多)。有一件事我似乎不知道该怎么做,那就是如何做一个“和”连接,基本上是连接到同一节点的两条线之间的一条弧。这可能吗

是的。虽然没有明确的点语法,但几乎总是这样:

# just graph set-up
digraph new_graph {
ratio = "auto"
mincross = 2.0

# draw some nodes
"001" [shape=box, regular=1, style=filled, fillcolor="#FCD975"] ;
"017" [shape=circle  , regular=1,style=filled,fillcolor="#9ACEEB"   ] ;
"007" [shape=diamond  , regular=1,style=filled,fillcolor="#FCD975"   ] ;
# the key line--creating tiny node w/ no label, no color
# i use this style because it mimics the 'midpoint' style used in Omnigraffle et al.
"LN01" [shape=diamond,style=filled,label="",height=.1,width=.1] ;

# draw the edges
"001" -> "LN01" [dir=none,weight=1] ;
"007" -> "LN01" [dir=none,weight=1] ;
"LN01" -> "017" [dir=none, weight=2] ;
}

是的。虽然没有明确的点语法,但几乎总是这样:

# just graph set-up
digraph new_graph {
ratio = "auto"
mincross = 2.0

# draw some nodes
"001" [shape=box, regular=1, style=filled, fillcolor="#FCD975"] ;
"017" [shape=circle  , regular=1,style=filled,fillcolor="#9ACEEB"   ] ;
"007" [shape=diamond  , regular=1,style=filled,fillcolor="#FCD975"   ] ;
# the key line--creating tiny node w/ no label, no color
# i use this style because it mimics the 'midpoint' style used in Omnigraffle et al.
"LN01" [shape=diamond,style=filled,label="",height=.1,width=.1] ;

# draw the edges
"001" -> "LN01" [dir=none,weight=1] ;
"007" -> "LN01" [dir=none,weight=1] ;
"LN01" -> "017" [dir=none, weight=2] ;
}