Skip to content

Commit 613a7e8

Browse files
committed
Update diagram styles and structure in the Polkadot SDK parachains introduction document
1 parent 2f31c4c commit 613a7e8

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
@@ -5289,26 +5289,32 @@ Every blockchain platform relies on a decentralized network of computers—calle
52895289
- Also known as State Transition Function (STF)
52905290

52915291
```mermaid
5292-
%%{init: {'flowchart': {'padding': 25, 'nodeSpacing': 10, 'rankSpacing': 50}}}%%
5292+
%%{init: {'flowchart': {'padding': 5, 'nodeSpacing': 50, 'rankSpacing': 10}}}%%
52935293
graph TB
5294-
%% Define comprehensive styles
5295-
classDef titleStyle font-size:30px,font-weight:bold,stroke-width:2px,padding:20px
5296-
5297-
subgraph sg1[Substrate Node]
5298-
%% Add invisible spacer with increased height
5299-
spacer[ ]
5300-
style spacer height:2px,opacity:0
5301-
5302-
B[Wasm Runtime - STF]
5294+
classDef title font-size:20px,font-weight:bold,stroke-width:0px
5295+
classDef clientStyle font-size:16px,font-weight:bold
5296+
classDef clientSubNodeStyle margin-top:10px
5297+
classDef runtimeCallExecutorStyle padding-top:10px
5298+
5299+
subgraph sg1[Substrate<br /> Node]
5300+
direction TB
5301+
53035302
I[RuntimeCall Executor]
5303+
B[Wasm Runtime - STF]
5304+
53045305
subgraph sg2[Client]
53055306
direction TB
53065307
C[Network and Blockchain<br/>Infrastructure Services]
53075308
end
5308-
I -.-> B
5309+
5310+
I --> B
53095311
end
5310-
%% Apply comprehensive styles
5311-
class sg1 titleStyle
5312+
5313+
class sg1 title
5314+
class sg2 clientStyle
5315+
class C clientSubNodeStyle
5316+
class I runtimeCallExecutorStyle
5317+
53125318
```
53135319

53145320
### FRAME

0 commit comments

Comments
 (0)