summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/flowchartdemo.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/doc/flowchartdemo.asy')
-rw-r--r--Build/source/utils/asymptote/doc/flowchartdemo.asy17
1 files changed, 7 insertions, 10 deletions
diff --git a/Build/source/utils/asymptote/doc/flowchartdemo.asy b/Build/source/utils/asymptote/doc/flowchartdemo.asy
index def70d0dd0f..796e357a5ff 100644
--- a/Build/source/utils/asymptote/doc/flowchartdemo.asy
+++ b/Build/source/utils/asymptote/doc/flowchartdemo.asy
@@ -17,14 +17,11 @@ draw(block4);
draw(block5);
add(new void(picture pic, transform t) {
- draw(pic,path(new pair[]{block1.right(t),block2.top(t)},Horizontal),
- Arrow,PenMargin);
- draw(pic,Label("Yes",0.5,NW),path(new pair[]{block2.left(t),block3.top(t)},
- Horizontal),Arrow,PenMargin);
- draw(pic,Label("No",0.5,NE),path(new pair[]{block2.right(t),block4.top(t)},
- Horizontal),Arrow,PenMargin);
- draw(pic,path(new pair[]{block3.bottom(t),block5.left(t)},Vertical),
- Arrow,PenMargin);
- draw(pic,path(new pair[]{block4.bottom(t),block5.right(t)},Vertical),
- Arrow,PenMargin);
+ blockconnector operator --=blockconnector(pic,t);
+ // draw(pic,block1.right(t)--block2.top(t));
+ block1--Right--Down--Arrow--block2;
+ block2--Label("Yes",0.5,NW)--Left--Down--Arrow--block3;
+ block2--Right--Label("No",0.5,NE)--Down--Arrow--block4;
+ block4--Down--Left--Arrow--block5;
+ block3--Down--Right--Arrow--block5;
});