[英]Vertical Alignment and Invisiable Dot
Trying to put all thick bordered items into a vertical alignment.试图将所有粗边框项目放入垂直 alignment。 How do I do this?我该怎么做呢?
Also, I'm trying to get the empty dot, where the two lines combine into one, to go away so the edges are connected.另外,我正在尝试将两条线合并为一条的空点移至 go ,以便连接边缘。 They are denoted by the "i*" naming convention.它们由“i*”命名约定表示。 Specifically for this, I want the two lines to merge back together then attach to the next item.为此,我希望这两行重新合并在一起,然后附加到下一个项目。 I tried the concentrate = "true"
and that did not work as expected.我尝试了concentrate = "true"
,但没有按预期工作。 The lines basically did not merge back together.这些线基本上没有重新合并在一起。
digraph G {
concentrate = "true";
node[shape="box", style="rounded"];
{
start [penwidth = 2.0];
end [penwidth = 2.0];
}
// PROCESS
node[shape="box"];
{
calc [label = "Calculate\nSelected\nValues", penwidth = 2.0];
deployPara [label = "Deploy\nPatachute" ];
bldMsg [label = "Build\nMessage"];
sendMsg [label = "Transmit\nMessage"];
sleepCycle [label = "Sleep\nCycle", penwidth=2];
}
// Decision
node[shape="diamond", style=""]
{
decidePara [label = "Decide\nDeploy", penwidth=2];
decideMsg [label = "Decide\nMessage", penwidth=2];
}
node[shape = point, width = 0, height = 0];
{
iDeploy
iMsg
}
start -> decidePara
decidePara -> iDeploy [label = "No", arrowhead = "none"]
decidePara -> deployPara [label = "Yes"]
deployPara -> iDeploy [arrowhead = "none"]
iDeploy -> decideMsg ;
decideMsg -> iMsg [label = "No", arrowhead = "none"];
decideMsg -> bldMsg [label = "Yes"];
bldMsg -> sendMsg;
sendMsg -> iMsg [arrowhead = "none"]
iMsg -> sleepCycle
sleepCycle -> end;
{rank=same; decidePara deployPara}
{rank=same; decideMsg bldMsg sendMsg}
}
Edit the image commenter sees is:编辑图像评论者看到的是:
Changes:变化:
digraph G {
concentrate = "true";
splines=false
node[shape="box", style="rounded"];
{
start [penwidth = 2.0 group=S];
end [penwidth = 2.0 group=S];
}
// PROCESS
node[shape="box"];
{
calc [label = "Calculate\nSelected\nValues", penwidth = 2.0];
deployPara [label = "Deploy\nPatachute" ];
bldMsg [label = "Build\nMessage"];
sendMsg [label = "Transmit\nMessage"];
sleepCycle [label = "Sleep\nCycle", penwidth=2 group=S];
}
// Decision
node[shape="diamond", style=""]
{
decidePara [label = "Decide\nDeploy", penwidth=2 group=S];
decideMsg [label = "Decide\nMessage", penwidth=2 group=S];
}
node[shape = point, width = .01, height = .01 group=S];
{
iDeploy
iMsg
}
start -> decidePara
decidePara -> iDeploy [label = "No", arrowhead = "none" headclip=false]
decidePara -> deployPara [label = "Yes"]
deployPara -> iDeploy [arrowhead = "none" headclip=false]
iDeploy -> decideMsg [tailclip=false]
decideMsg -> iMsg [label = "No", arrowhead = "none" headclip=false];
decideMsg -> bldMsg [label = "Yes"];
bldMsg -> sendMsg;
sendMsg -> iMsg [arrowhead = "none"]
iMsg -> sleepCycle [tailclip=false]
sleepCycle -> end;
{rank=same; decidePara deployPara}
{rank=same; decideMsg bldMsg sendMsg}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.