Skip to content

Commit

Permalink
fix: mermaid styles :)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhussein11 committed Dec 19, 2024
1 parent 9511db6 commit 77de1dc
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions develop/parachains/intro-polkadot-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,27 @@ Every blockchain platform relies on a decentralized network of computers—calle
- Stored as a part of the chain state
- Also known as State Transition Function (STF)

``` mermaid
```mermaid
%%{init: {'flowchart': {'padding': 25, 'nodeSpacing': 10, 'rankSpacing': 50}}}%%
graph TB
%% Define comprehensive styles
classDef titleStyle font-size:30px,font-weight:bold,stroke-width:2px,padding:20px
subgraph sg1[Substrate Node]
%% Add invisible spacer with increased height
spacer[ ]
style spacer height:2px,opacity:0
B[Wasm Runtime - STF]
I[RuntimeCall Executor]
subgraph sg2[Client]
direction TB
C[Network and blockchain</br>infrastructure services]
C[Network and Blockchain<br/>Infrastructure Services]
end
I -.-> B
end
%% Apply comprehensive styles
class sg1 titleStyle
```

### FRAME
Expand Down

0 comments on commit 77de1dc

Please sign in to comment.