save
This commit is contained in:
parent
ae10e0f58a
commit
7bd18b6081
3 changed files with 18 additions and 3 deletions
5
docs/architecture/README.md
Normal file
5
docs/architecture/README.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Table of Contents
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
<img src="./overview.svg" alt="Overview" />
|
||||||
|
|
@ -8,6 +8,7 @@ compiler: {
|
||||||
parse -> AST
|
parse -> AST
|
||||||
AST: Abstract Syntax Tree {
|
AST: Abstract Syntax Tree {
|
||||||
shape: oval
|
shape: oval
|
||||||
|
fill: honeydew
|
||||||
}
|
}
|
||||||
|
|
||||||
AST -> compile
|
AST -> compile
|
||||||
|
|
@ -16,6 +17,7 @@ compiler: {
|
||||||
compiler.compile -> graph
|
compiler.compile -> graph
|
||||||
graph: Graph\n(shapes & connections) {
|
graph: Graph\n(shapes & connections) {
|
||||||
shape: oval
|
shape: oval
|
||||||
|
fill: honeydew
|
||||||
}
|
}
|
||||||
|
|
||||||
graph -> Set Dimensions
|
graph -> Set Dimensions
|
||||||
|
|
@ -24,14 +26,21 @@ Set Dimensions -> Use given, premeasured dimensions -> measured graph
|
||||||
|
|
||||||
measured graph: {
|
measured graph: {
|
||||||
shape: oval
|
shape: oval
|
||||||
|
fill: honeydew
|
||||||
}
|
}
|
||||||
|
|
||||||
measured graph -> layout engine -> positioned graph
|
measured graph -> layout engine -> positioned graph
|
||||||
|
|
||||||
|
positioned graph: {
|
||||||
|
shape: oval
|
||||||
|
fill: honeydew
|
||||||
|
}
|
||||||
|
|
||||||
positioned graph -> exporter -> diagram
|
positioned graph -> exporter -> diagram
|
||||||
|
|
||||||
diagram: finalized diagram (styled) {
|
diagram: finalized diagram (styled) {
|
||||||
shape: oval
|
shape: oval
|
||||||
|
fill: honeydew
|
||||||
}
|
}
|
||||||
|
|
||||||
diagram -> render SVG
|
diagram -> render SVG
|
||||||
|
|
@ -42,6 +51,7 @@ use sketch post processor -> SVG bytes
|
||||||
|
|
||||||
SVG bytes: {
|
SVG bytes: {
|
||||||
shape: oval
|
shape: oval
|
||||||
|
fill: honeydew
|
||||||
}
|
}
|
||||||
|
|
||||||
SVG bytes -> screenshot for PNG: optional
|
SVG bytes -> screenshot for PNG: optional
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 982 KiB After Width: | Height: | Size: 982 KiB |
Loading…
Reference in a new issue