mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-23 02:06:45 +02:00
38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import type { DiagramMetadata } from '../types.js';
|
|
|
|
export default {
|
|
id: 'kanban',
|
|
name: 'Kanban Diagram',
|
|
description: 'Visualize work items in a Kanban board',
|
|
examples: [
|
|
{
|
|
title: 'Kanban Diagram',
|
|
isDefault: true,
|
|
code: `---
|
|
config:
|
|
kanban:
|
|
ticketBaseUrl: 'https://github.com/mermaid-js/mermaid/issues/#TICKET#'
|
|
---
|
|
kanban
|
|
Todo
|
|
[Create Documentation]
|
|
docs[Create Blog about the new diagram]
|
|
[In progress]
|
|
id6[Create renderer so that it works in all cases. We also add some extra text here for testing purposes. And some more just for the extra flare.]
|
|
id9[Ready for deploy]
|
|
id8[Design grammar]@{ assigned: 'knsv' }
|
|
id10[Ready for test]
|
|
id4[Create parsing tests]@{ ticket: 2038, assigned: 'K.Sveidqvist', priority: 'High' }
|
|
id66[last item]@{ priority: 'Very Low', assigned: 'knsv' }
|
|
id11[Done]
|
|
id5[define getData]
|
|
id2[Title of diagram is more than 100 chars when user duplicates diagram with 100 char]@{ ticket: 2036, priority: 'Very High'}
|
|
id3[Update DB function]@{ ticket: 2037, assigned: knsv, priority: 'High' }
|
|
|
|
id12[Can't reproduce]
|
|
id3[Weird flickering in Firefox]
|
|
`,
|
|
},
|
|
],
|
|
} satisfies DiagramMetadata;
|