-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathclient.ts
More file actions
23 lines (21 loc) · 574 Bytes
/
Copy pathclient.ts
File metadata and controls
23 lines (21 loc) · 574 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/// <reference lib="dom" />
import mermaid from 'mermaid'
mermaid.initialize({
startOnLoad: true,
// Keep explicit line breaks and parallel lanes instead of shrinking a wide
// graph to fit the article. The page stylesheet provides horizontal scrolling.
markdownAutoWrap: false,
htmlLabels: false,
flowchart: {
useMaxWidth: false,
curve: 'linear',
nodeSpacing: 24,
rankSpacing: 36,
padding: 12,
wrappingWidth: 320,
subGraphTitleMargin: { top: 8, bottom: 16 },
},
themeVariables: {
fontFamily: 'system-ui, sans-serif'
}
})