Skip to content

Commit

Permalink
Updated block diagram example
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Feb 5, 2024
1 parent b3955bd commit 351d46c
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions src/lib/components/Preset.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,24 @@
bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]`,
Block: `block-beta
columns 1
db(("DB"))
blockArrow<["&nbsp;&nbsp;&nbsp;"]>(down)
block:ID
columns 3
A
B["A wide one in the middle"]
C
doc>"Document"]:3
space down1<[" "]>(down) space
block:e:3
l["left"]
m("A wide one in the middle")
r["right"]
end
space
D
ID --> D
C --> D
style B fill:#f9F,stroke:#333,stroke-width:4px`
space down2<[" "]>(down) space
db[("DB")]:3
space:3
D space C
db --> D
C --> db
D --> C
style m fill:#d6d,stroke:#333,stroke-width:4px
`
};
type SampleTypes = keyof typeof samples;
Expand Down

0 comments on commit 351d46c

Please sign in to comment.