File tree 2 files changed +69
-4
lines changed
2 files changed +69
-4
lines changed Original file line number Diff line number Diff line change 1
1
input : |d2
2
- hello
2
+ hello -> world
3
3
|
4
+
5
+ input -> compiler .parse
6
+
7
+ compiler : {
8
+ parse -> AST
9
+ AST : Abstract Syntax Tree {
10
+ shape : oval
11
+ }
12
+
13
+ AST -> compile
14
+ }
15
+
16
+ compiler .compile -> graph
17
+ graph : Graph\n (shapes & connections) {
18
+ shape : oval
19
+ }
20
+
21
+ graph -> Set Dimensions
22
+ Set Dimensions -> Use ruler to measure all texts -> measured graph
23
+ Set Dimensions -> Use given, premeasured dimensions -> measured graph
24
+
25
+ measured graph : {
26
+ shape : oval
27
+ }
28
+
29
+ measured graph -> layout engine -> positioned graph
30
+
31
+ positioned graph -> exporter -> diagram
32
+
33
+ diagram : finalized diagram (styled) {
34
+ shape : oval
35
+ }
36
+
37
+ diagram -> render SVG
38
+
39
+ render SVG -> use sketch post processor : optional
40
+
41
+ use sketch post processor -> SVG bytes
42
+
43
+ SVG bytes : {
44
+ shape : oval
45
+ }
46
+
47
+ SVG bytes -> screenshot for PNG : optional
You can’t perform that action at this time.
0 commit comments