mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
Gantt numberSectionStyles should be 4
This commit is contained in:
20
dist/index.html
vendored
20
dist/index.html
vendored
@@ -20,6 +20,19 @@ click B testClick "click test"
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="mermaid">
|
||||
graph TD
|
||||
A-->B
|
||||
A-->C
|
||||
A-->Z
|
||||
A-->Y
|
||||
B-->Y
|
||||
Z-->Y
|
||||
Y-->A
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="mermaid">
|
||||
sequenceDiagram
|
||||
Alice ->> Bob: Hello Bob, how are you?
|
||||
@@ -105,7 +118,12 @@ Class08 <--> C2: Cool label
|
||||
</div>
|
||||
<script src="./mermaid.js"></script>
|
||||
<script>
|
||||
mermaid.initialize({ theme: 'forest', logLevel: 3, gantt: { axisFormat: '%m/%d/%Y' } });
|
||||
mermaid.initialize({
|
||||
theme: 'forest',
|
||||
logLevel: 3,
|
||||
gantt: { axisFormat: '%m/%d/%Y' },
|
||||
sequence: { actorMargin: 50 },
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
function testClick(nodeId) {
|
||||
|
@@ -205,7 +205,7 @@ const config = {
|
||||
/**
|
||||
* **numberSectionStyles** - the number of alternating section styles
|
||||
*/
|
||||
numberSectionStyles: 3,
|
||||
numberSectionStyles: 4,
|
||||
|
||||
/**
|
||||
* **axisFormat** - datetime format of the axis, this might need adjustment to match your locale and preferences
|
||||
|
Reference in New Issue
Block a user