butiran

layers with nodes

intro

We can use Mermaid, a simple Markdown-like script language for generating charts from text via JavaScript (Mallin, 2018), to draw layers with nodes, where the diagram element used is circle and the feature of subgraph. But this would not be the main purpose of Mermaid, but we can use for it.

model

O
G
H
I
w11
w12
w13
w21
w22
w23
w31
w32
w33
w41
w42
w43
v11
v12
v13
v14
v21
v22
v23
v24
v31
v32
v33
v34
u11
u12
u13
u21
u22
u23
1
2
1
2
3
1
2
3
4
1
2
3

mermaid

O
G
H
I
w11
w12
w13
w21
w22
w23
w31
w32
w33
w41
w42
w43
v11
v12
v13
v14
v21
v22
v23
v24
v31
v32
v33
v34
u11
u12
u13
u21
u22
u23
1
2
1
2
3
1
2
3
4
1
2
3

notes

refs