Skip to content

Commit 20b4e6f

Browse files
authored
Update diagram styles and structure in the Polkadot SDK parachains introduction document (#895)
1 parent a856ea3 commit 20b4e6f

File tree

2 files changed

+38
-26
lines changed

2 files changed

+38
-26
lines changed

develop/parachains/intro-polkadot-sdk.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,32 @@ Every blockchain platform relies on a decentralized network of computers—calle
5050
- Also known as State Transition Function (STF)
5151

5252
```mermaid
53-
%%{init: {'flowchart': {'padding': 25, 'nodeSpacing': 10, 'rankSpacing': 50}}}%%
53+
%%{init: {'flowchart': {'padding': 5, 'nodeSpacing': 50, 'rankSpacing': 10}}}%%
5454
graph TB
55-
%% Define comprehensive styles
56-
classDef titleStyle font-size:30px,font-weight:bold,stroke-width:2px,padding:20px
57-
58-
subgraph sg1[Substrate Node]
59-
%% Add invisible spacer with increased height
60-
spacer[ ]
61-
style spacer height:2px,opacity:0
62-
63-
B[Wasm Runtime - STF]
55+
classDef title font-size:20px,font-weight:bold,stroke-width:0px
56+
classDef clientStyle font-size:16px,font-weight:bold
57+
classDef clientSubNodeStyle margin-top:10px
58+
classDef runtimeCallExecutorStyle padding-top:10px
59+
60+
subgraph sg1[Substrate<br /> Node]
61+
direction TB
62+
6463
I[RuntimeCall Executor]
64+
B[Wasm Runtime - STF]
65+
6566
subgraph sg2[Client]
6667
direction TB
6768
C[Network and Blockchain<br/>Infrastructure Services]
6869
end
69-
I -.-> B
70+
71+
I --> B
7072
end
71-
%% Apply comprehensive styles
72-
class sg1 titleStyle
73+
74+
class sg1 title
75+
class sg2 clientStyle
76+
class C clientSubNodeStyle
77+
class I runtimeCallExecutorStyle
78+
7379
```
7480

7581
### FRAME

llms.txt

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5783,26 +5783,32 @@ Every blockchain platform relies on a decentralized network of computers—calle
57835783
- Also known as State Transition Function (STF)
57845784

57855785
```mermaid
5786-
%%{init: {'flowchart': {'padding': 25, 'nodeSpacing': 10, 'rankSpacing': 50}}}%%
5786+
%%{init: {'flowchart': {'padding': 5, 'nodeSpacing': 50, 'rankSpacing': 10}}}%%
57875787
graph TB
5788-
%% Define comprehensive styles
5789-
classDef titleStyle font-size:30px,font-weight:bold,stroke-width:2px,padding:20px
5790-
5791-
subgraph sg1[Substrate Node]
5792-
%% Add invisible spacer with increased height
5793-
spacer[ ]
5794-
style spacer height:2px,opacity:0
5795-
5796-
B[Wasm Runtime - STF]
5788+
classDef title font-size:20px,font-weight:bold,stroke-width:0px
5789+
classDef clientStyle font-size:16px,font-weight:bold
5790+
classDef clientSubNodeStyle margin-top:10px
5791+
classDef runtimeCallExecutorStyle padding-top:10px
5792+
5793+
subgraph sg1[Substrate<br /> Node]
5794+
direction TB
5795+
57975796
I[RuntimeCall Executor]
5797+
B[Wasm Runtime - STF]
5798+
57985799
subgraph sg2[Client]
57995800
direction TB
58005801
C[Network and Blockchain<br/>Infrastructure Services]
58015802
end
5802-
I -.-> B
5803+
5804+
I --> B
58035805
end
5804-
%% Apply comprehensive styles
5805-
class sg1 titleStyle
5806+
5807+
class sg1 title
5808+
class sg2 clientStyle
5809+
class C clientSubNodeStyle
5810+
class I runtimeCallExecutorStyle
5811+
58065812
```
58075813

58085814
### FRAME

0 commit comments

Comments
 (0)