mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
11 lines
187 B
JavaScript
11 lines
187 B
JavaScript
|
import mermaid from '../../dist/mermaid.core'
|
||
|
|
||
|
mermaid.initialize({
|
||
|
theme: 'forest',
|
||
|
gantt: { axisFormatter: [
|
||
|
['%Y-%m-%d', (d) => {
|
||
|
return d.getDay() === 1
|
||
|
}]
|
||
|
] }
|
||
|
})
|