Excel has created a flowchart similar to the one below.
The direction of the arrow, as well as the location of the object and the type of border in the text box, are meaningful.
This flowchart is Excel, so I'm using the GUI, but is there a way to export (expression) it based on text?
html excel markdown graph-theory
Examples of DOT language using Graphviz.
digraph G{
fontname = "sans-serif";
splines = "curved";
penwidth = "0.1";
edge [ comment = "Wildcard edge",
fontname = "sans-serif",
fontsize = 10,
colorscheme="blues3",
color=2,
fontcolor=3];
node [fontname="serif",
fontsize=13,
colorscheme="blues4",
color="2",
fontcolor="4" ];
"n1" [shape="polygon",
pos = "0,0!",
style="dotted",
label=<<U>Text A</U>>];
"n2" [shape="polygon",
pos="2,-1!",
label = "Text B" ];
"n1" - > "n2" [headport="w" ];
"n3" [shape="none",
pos="0, -1.5!"
image="hatsuhinode.png",
penwidth = "0.0",
label="];
"n1" - > "n3";
}
You can save the text as sample.dot
and generate an image with the following command:
dot-Kfdp-n-Tpng-osample.png sample.dot
Reference:
We also used Dotteditor to edit the text.
© 2024 OneMinuteCode. All rights reserved.