775 lines
33 KiB
JSON
775 lines
33 KiB
JSON
{
|
|
"categories": {
|
|
"Flowchart": "Flowchart",
|
|
"SequenceDiagram": "SequenceDiagram",
|
|
"ClassDiagram": "ClassDiagram",
|
|
"StateDiagram": "StateDiagram",
|
|
"EntityRelationshipDiagram": "EntityRelationshipDiagram",
|
|
"UserJourneyDiagram": "UserJourneyDiagram",
|
|
"GanttChart": "GanttChart",
|
|
"PieChart": "PieChart",
|
|
"RequirementDiagram": "RequirementDiagram",
|
|
"GitGraph": "GitGraph",
|
|
"Mindmap": "Mindmap",
|
|
"Timeline": "Timeline",
|
|
"C4Diagram": "C4Diagram",
|
|
"QuadrantChart": "QuadrantChart",
|
|
"SankeyDiagram": "SankeyDiagram",
|
|
"XyChart": "XyChart"
|
|
},
|
|
"elements": [
|
|
{
|
|
"id": "f0b470f6-e758-40a1-b83a-ee8877bab687",
|
|
"category": "Flowchart",
|
|
"description": "a simple flowchart with top to down direction",
|
|
"content": "flowchart TD\nStart --> Stop",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c8f4d7ae-2ad7-439c-b29e-b955b1b4843e",
|
|
"category": "Flowchart",
|
|
"description": "a simple flowchart with left to right direction",
|
|
"content": "flowchart LR\nStart --> Stop",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "0d341c0f-f212-4b95-a933-4cea34d7d9ff",
|
|
"category": "Flowchart",
|
|
"description": "A node with round edges",
|
|
"content": "id1(Some text)",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b7130fb4-47b2-43b7-be7e-766b8d63b2a6",
|
|
"category": "Flowchart",
|
|
"description": "A stadium-shaped node",
|
|
"content": "id1([Some text])",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "3d1f71ab-5695-4c56-91fc-c7691065bdaa",
|
|
"category": "Flowchart",
|
|
"description": "A node in a cylindrical shape",
|
|
"content": "id1[(Database)]",
|
|
"sortingOrder": 5,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "05ee45db-6f42-4c2c-b16b-2992921e2b90",
|
|
"category": "Flowchart",
|
|
"description": "Circle",
|
|
"content": "id1((Some text))",
|
|
"sortingOrder": 6,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "62806473-c5d9-4f8e-8269-9ff81d21b555",
|
|
"category": "Flowchart",
|
|
"description": "Rhombus",
|
|
"content": "id1{Some text}",
|
|
"sortingOrder": 7,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "e0b82242-e824-4cff-a875-aa1497ca323e",
|
|
"category": "Flowchart",
|
|
"description": "Hexagon",
|
|
"content": "id1{{Some text}}",
|
|
"sortingOrder": 8,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "a3624459-1eaa-4c4c-8f58-77f0b2f24317",
|
|
"category": "Flowchart",
|
|
"description": "Parallelogram skewed right",
|
|
"content": "id1[/Some text/]",
|
|
"sortingOrder": 9,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "3c43f246-7f2e-42ad-a547-fa4f74379f4c",
|
|
"category": "Flowchart",
|
|
"description": "Parallelogram skewed left",
|
|
"content": "id1[\\Some text\\]",
|
|
"sortingOrder": 10,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "4994bf34-7776-4b11-a913-ff30a5dd96c0",
|
|
"category": "Flowchart",
|
|
"description": "Trapezoid",
|
|
"content": "A[/Some text\\]",
|
|
"sortingOrder": 11,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "d1637dee-0e3d-4c00-861f-030127faba04",
|
|
"category": "Flowchart",
|
|
"description": "Trapezoid upside down",
|
|
"content": "A[\\Some text/]",
|
|
"sortingOrder": 12,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "1b0c8a81-43a3-4fe4-9fe1-df069b5f58ef",
|
|
"category": "Flowchart",
|
|
"description": "Double circle node",
|
|
"content": "id1(((Some text)))",
|
|
"sortingOrder": 13,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "2d12f3b2-4e8c-43ba-9547-2f195b01fda3",
|
|
"category": "Flowchart",
|
|
"description": "A link with arrow head",
|
|
"content": "A-->B",
|
|
"sortingOrder": 14,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b65a89eb-445f-4893-91b4-8e8f6e8263d0",
|
|
"category": "Flowchart",
|
|
"description": "An open link",
|
|
"content": "A --- B",
|
|
"sortingOrder": 15,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "ac373a66-7204-4a53-825a-eb6fbc493c4a",
|
|
"category": "Flowchart",
|
|
"description": "Text on links",
|
|
"content": "A-- This is the text! ---B",
|
|
"sortingOrder": 16,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "405d1a66-a98d-497b-a518-4eb983d42954",
|
|
"category": "Flowchart",
|
|
"description": "A link with arrow head and text",
|
|
"content": "A-->|text|B",
|
|
"sortingOrder": 17,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "2d72edb7-af63-4a2a-8b6f-cb2194a77c22",
|
|
"category": "Flowchart",
|
|
"description": "Dotted link",
|
|
"content": "A-.->B",
|
|
"sortingOrder": 18,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "81d9ebb0-a88f-49b1-94e4-99ba6e7830c6",
|
|
"category": "Flowchart",
|
|
"description": "Thick link",
|
|
"content": "A ==> B",
|
|
"sortingOrder": 19,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "34590175-e487-406c-87c0-af36aff52227",
|
|
"category": "Flowchart",
|
|
"description": "Invisible link",
|
|
"content": "A ~~~ B",
|
|
"sortingOrder": 20,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "09e29cb2-2d29-4a03-adfd-1b114bf0c652",
|
|
"category": "Flowchart",
|
|
"description": "Link with circle edge",
|
|
"content": "A --o B",
|
|
"sortingOrder": 21,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "3e83e974-06e1-455b-b06d-4e03528e7034",
|
|
"category": "Flowchart",
|
|
"description": "Link with cross edge",
|
|
"content": "A --x B",
|
|
"sortingOrder": 22,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "e912d1f6-4c16-45fd-abcb-ec4905baa94a",
|
|
"category": "Flowchart",
|
|
"description": "Subgraph",
|
|
"content": "subgraph one\na1-->a2\nend",
|
|
"sortingOrder": 14,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b97108ee-8e30-4191-9581-fb3217dadae8",
|
|
"category": "SequenceDiagram",
|
|
"description": "a simple sequence diagram",
|
|
"content": "sequenceDiagram\nAlice->>John: Hello John, how are you?\nJohn-->>Alice: Great!\nAlice-)John: See you later!",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "8302a3e3-23c7-467e-9b77-bc4ff89c2939",
|
|
"category": "SequenceDiagram",
|
|
"description": "a simple sequence diagram with actors",
|
|
"content": "sequenceDiagram\nactor Alice\nactor John\nAlice->>John: Hello John, how are you?\nJohn-->>Alice: Great!\nAlice-)John: See you later!",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "7517b980-928d-4067-b032-e9bcaece4368",
|
|
"category": "ClassDiagram",
|
|
"description": "sample class",
|
|
"content": "class Duck{\n +String beakColor\n +swim()\n +quack()\n }",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c9f304da-ed52-4d9c-80ae-f4e583ea4bf4",
|
|
"category": "ClassDiagram",
|
|
"description": "sample class",
|
|
"content": "class BankAccount\n BankAccount : +String owner\n BankAccount : +Bigdecimal balance\n BankAccount : +deposit(amount)\n BankAccount : +withdrawal(amount)",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "bf93cb8c-4c06-4fea-973a-d9ada4c4bb65",
|
|
"category": "ClassDiagram",
|
|
"description": "generic class",
|
|
"content": "class Square~Shape~{\n int id\n List~int~ position\n setPoints(List~int~ points)\n getPoints() List~int~\n }\n \n Square : -List~string~ messages\n Square : +setMessages(List~string~ messages)\n Square : +getMessages() List~string~",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "782a4caf-bcb4-479b-b084-6cdaf9b87bb7",
|
|
"category": "ClassDiagram",
|
|
"description": "inheritance",
|
|
"content": "classA <|-- classB",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "a2f694b0-b9a2-4c51-b0d2-e30f1513a62f",
|
|
"category": "ClassDiagram",
|
|
"description": "composition",
|
|
"content": "classC *-- classD",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "adbea3a9-c070-44c9-8aaf-34780d330c40",
|
|
"category": "ClassDiagram",
|
|
"description": "aggregation",
|
|
"content": "classE o-- classF",
|
|
"sortingOrder": 5,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c98bdcb6-2490-48f5-8373-2cd456e2c435",
|
|
"category": "ClassDiagram",
|
|
"description": "association",
|
|
"content": "classG <-- classH",
|
|
"sortingOrder": 6,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "4c58d09d-91ca-4de4-adb9-b85282b79d7f",
|
|
"category": "ClassDiagram",
|
|
"description": "solid link",
|
|
"content": "classI -- classJ",
|
|
"sortingOrder": 7,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c1830a64-1247-4176-8439-c9badac5fd39",
|
|
"category": "ClassDiagram",
|
|
"description": "dependency",
|
|
"content": "classK <.. classL",
|
|
"sortingOrder": 8,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "5218e72c-db76-48a3-8dd7-7cd39e5499b0",
|
|
"category": "ClassDiagram",
|
|
"description": "realization",
|
|
"content": "classM <|.. classN",
|
|
"sortingOrder": 9,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "34819115-9a4f-432f-8fcd-abffbd3851b3",
|
|
"category": "ClassDiagram",
|
|
"description": "dashed link",
|
|
"content": "classO .. classP",
|
|
"sortingOrder": 10,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "07f02636-7c88-4c50-8249-b4f9fd922699",
|
|
"category": "ClassDiagram",
|
|
"description": "two-way relation",
|
|
"content": "Animal <|--|> Zebra",
|
|
"sortingOrder": 11,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "629680af-30d3-4e6e-8b14-b77eee92fe33",
|
|
"category": "ClassDiagram",
|
|
"description": "sample class diagram",
|
|
"content": "classDiagram\n Animal <|-- Duck\n Animal <|-- Fish\n Animal <|-- Zebra\n Animal : +int age\n Animal : +String gender\n Animal: +isMammal()\n Animal: +mate()\n class Duck{\n +String beakColor\n +swim()\n +quack()\n }\n class Fish{\n -int sizeInFeet\n -canEat()\n }\n class Zebra{\n +bool is_wild\n +run()\n }",
|
|
"sortingOrder": 12,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b729d6a2-56fc-47a1-9d20-ff4edc7dbc9f",
|
|
"category": "StateDiagram",
|
|
"description": "a sample state diagram",
|
|
"content": "stateDiagram-v2\n [*] --> Still\n Still --> [*]\n \n Still --> Moving\n Moving --> Still\n Moving --> Crash\n Crash --> [*]",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "202e804d-3cc2-4193-aa3f-6f453aebabe7",
|
|
"category": "StateDiagram",
|
|
"description": "a sample state diagram with left-to-right direction",
|
|
"content": "stateDiagram-v2\n direction LR\n [*] --> Still\n Still --> [*]\n \n Still --> Moving\n Moving --> Still\n Moving --> Crash\n Crash --> [*]",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "33746916-9359-44ce-a67f-ee3e9d892b2f",
|
|
"category": "StateDiagram",
|
|
"description": "node with description",
|
|
"content": "s2 : This is a state description",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b578cd8a-f522-456f-b113-bdf5326b3fe8",
|
|
"category": "StateDiagram",
|
|
"description": "a transition",
|
|
"content": "s1 --> s2",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "0f3325b1-3712-4cbf-a6ec-0c626d0b805e",
|
|
"category": "StateDiagram",
|
|
"description": "a transition with label",
|
|
"content": "s1 --> s2: A transition",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "7dceb7de-cd40-4c05-ad54-4077a91eead1",
|
|
"category": "StateDiagram",
|
|
"description": "composite state",
|
|
"content": "\n [*] --> First\n state First {\n [*] --> second\n second --> [*]\n }",
|
|
"sortingOrder": 5,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "6ff8f945-a713-4c3b-9574-10f4df026c1f",
|
|
"category": "StateDiagram",
|
|
"description": "diagram with choice",
|
|
"content": "stateDiagram-v2\n state if_state <<choice>>\n [*] --> IsPositive\n IsPositive --> if_state\n if_state --> False: if n < 0\n if_state --> True : if n >= 0",
|
|
"sortingOrder": 6,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "3cf86621-2a99-40b7-9e7e-fb533fbaa68d",
|
|
"category": "StateDiagram",
|
|
"description": "diagram with fork",
|
|
"content": "stateDiagram-v2\n state fork_state <<fork>>\n [*] --> fork_state\n fork_state --> State2\n fork_state --> State3\n \n state join_state <<join>>\n State2 --> join_state\n State3 --> join_state\n join_state --> State4\n State4 --> [*]",
|
|
"sortingOrder": 7,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "f5b8a154-1722-4ccf-931c-3c8f7543ef56",
|
|
"category": "StateDiagram",
|
|
"description": "a diagram with concurrency",
|
|
"content": "stateDiagram-v2\n [*] --> Active\n \n state Active {\n [*] --> NumLockOff\n NumLockOff --> NumLockOn : EvNumLockPressed\n NumLockOn --> NumLockOff : EvNumLockPressed\n --\n [*] --> CapsLockOff\n CapsLockOff --> CapsLockOn : EvCapsLockPressed\n CapsLockOn --> CapsLockOff : EvCapsLockPressed\n --\n [*] --> ScrollLockOff\n ScrollLockOff --> ScrollLockOn : EvScrollLockPressed\n ScrollLockOn --> ScrollLockOff : EvScrollLockPressed\n }",
|
|
"sortingOrder": 8,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "8f570530-6f1f-4f62-961a-b25c81a5f3d3",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "a sample entity relationship diagram",
|
|
"content": "erDiagram\n CUSTOMER ||--o{ ORDER : places\n ORDER ||--|{ LINE-ITEM : contains\n CUSTOMER }|..|{ DELIVERY-ADDRESS : uses",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "bda50acd-6d9d-4761-b4a1-9d46fa0e529d",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "an entity",
|
|
"content": " CUSTOMER {\n string name\n string custNumber\n string sector\n }",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b34b4ecb-dde3-4774-bb95-451592d3962d",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "one-to-many relationship",
|
|
"content": "A ||--|{ B : label",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "186bd61c-75d8-45d9-8fbc-7c75ba382934",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "many-to-many relationship",
|
|
"content": "A }|--|{ B : label",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "d59103dc-aa07-42ca-a9ef-99206967f64b",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "one-to-one relationship",
|
|
"content": "A ||--|| B : label",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "cc04e766-d90e-417e-9965-ca61c5227619",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "many-to-one relationship",
|
|
"content": "A }|--|| B : label",
|
|
"sortingOrder": 5,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "728a5cd8-bf05-45a2-bb3d-d3e60a1972fb",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "zero/one-to-one relationship",
|
|
"content": "A |o--|| B : label",
|
|
"sortingOrder": 6,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c671792a-c9fc-4fec-a2f1-1c2e731438d6",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "one-to-one/zero relationship",
|
|
"content": "A ||--o| B : label",
|
|
"sortingOrder": 7,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "435b1b1a-7d2a-41c7-8819-61f8d40a1e36",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "zero-or-more-to-one relationship",
|
|
"content": "A }o--|| B : label",
|
|
"sortingOrder": 8,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "073e36a5-549d-4188-80b6-dba7b4cf4a6c",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "one-to-zero-or-more relationship",
|
|
"content": "A ||--o{ B : label",
|
|
"sortingOrder": 9,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "f26adf9c-95cb-49e4-a762-8e92662ef391",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "zero-or-more-to-many relationship",
|
|
"content": "A }o--|{ B : label",
|
|
"sortingOrder": 10,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "f41b436c-7eeb-4fc8-8299-9bedae50ddf6",
|
|
"category": "EntityRelationshipDiagram",
|
|
"description": "many-to-zero-or-more relationship",
|
|
"content": "A }|--o{ B : label",
|
|
"sortingOrder": 11,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b5c9e252-5913-40da-9727-9ae4df412301",
|
|
"category": "UserJourneyDiagram",
|
|
"description": "a sample user journey diagram",
|
|
"content": "journey\n title My working day\n section Go to work\n Make tea: 5: Me\n Go upstairs: 3: Me\n Do work: 1: Me, Cat\n section Go home\n Go downstairs: 5: Me\n Sit down: 5: Me",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "2f8a880d-c5ff-4621-a6bc-4da7a3f6161d",
|
|
"category": "UserJourneyDiagram",
|
|
"description": "a step in user journey",
|
|
"content": " Step Title: 5: ActorName",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "17d7b59b-a5bf-4cee-af6e-2c8ab524b58a",
|
|
"category": "GanttChart",
|
|
"description": "simple gantt chart",
|
|
"content": "gantt\n title A Gantt Diagram\n dateFormat YYYY-MM-DD\n section Section\n A task :a1, 2014-01-01, 30d\n Another task :after a1 , 20d\n section Another\n Task in sec :2014-01-12 , 12d\n another task : 24d",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "ada6159a-fbdf-4cab-8279-e0c2ec09334f",
|
|
"category": "GanttChart",
|
|
"description": "rich gantt chart",
|
|
"content": "gantt\n dateFormat YYYY-MM-DD\n title Adding GANTT diagram functionality to mermaid\n excludes weekends\n \n section A section\n Completed task :done, des1, 2014-01-06,2014-01-08\n Active task :active, des2, 2014-01-09, 3d\n Future task : des3, after des2, 5d\n Future task2 : des4, after des3, 5d\n \n section Critical tasks\n Completed task in the critical line :crit, done, 2014-01-06,24h\n Implement parser and jison :crit, done, after des1, 2d\n Create tests for parser :crit, active, 3d\n Future task in critical line :crit, 5d\n Create tests for renderer :2d\n Add to mermaid :1d\n Functionality added :milestone, 2014-01-25, 0d\n \n section Documentation\n Describe gantt syntax :active, a1, after des1, 3d\n Add gantt diagram to demo page :after a1 , 20h\n Add another diagram to demo page :doc1, after a1 , 48h\n \n section Last section\n Describe gantt syntax :after doc1, 3d\n Add gantt diagram to demo page :20h\n Add another diagram to demo page :48h",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "9455ce9c-d136-4ce5-97c8-dea67c643edc",
|
|
"category": "GanttChart",
|
|
"description": "milestones example",
|
|
"content": "gantt\n dateFormat HH:mm\n axisFormat %H:%M\n Initial milestone : milestone, m1, 17:49,2min\n taska2 : 10min\n taska3 : 5min\n Final milestone : milestone, m2, 18:14, 2min",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "d1debb13-ea98-481e-b3e7-7d736131ec6c",
|
|
"category": "PieChart",
|
|
"description": "sample pie chart",
|
|
"content": "pie title /r/obsidianmd posts by type\n \"Look at my awesome graph\" : 85\n \"Look at my cool dashboard\" : 14\n \"Moved from Notion, liking it\" : 1",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b38f6ae2-908e-4129-9d68-7b78e8adbf36",
|
|
"category": "PieChart",
|
|
"description": "sample pie chart with values shown in legend",
|
|
"content": "pie showdata\n title /r/obsidianmd posts by type\n \"Graphs\" : 85\n \"Dashboards\" : 14\n \"Tips\" : 1",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "9c4f6451-6a32-4750-9b9d-98be0763372b",
|
|
"category": "RequirementDiagram",
|
|
"description": "sample requirements diagram",
|
|
"content": " requirementDiagram\n\n requirement test_req {\n id: 1\n text: the test text.\n risk: high\n verifymethod: test\n }\n \n element test_entity {\n type: simulation\n }\n \n test_entity - satisfies -> test_req",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "b6ca2fc5-5048-4dca-a46f-432d6b3de467",
|
|
"category": "RequirementDiagram",
|
|
"description": "sample requirements diagram",
|
|
"content": "element customElement {\n type: customType\n docref: customDocRef\n }",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "d8a91025-62e1-4373-b25c-25b21963843e",
|
|
"category": "RequirementDiagram",
|
|
"description": "a requirement with high risk",
|
|
"content": "functionalRequirement myReq {\n id: reqId\n text: someText\n risk: High\n verifymethod: analysis\n }",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "29c26c80-e603-437d-882e-3c850feb1534",
|
|
"category": "RequirementDiagram",
|
|
"description": "sample requirements diagram",
|
|
"content": "interfaceRequirement myReq2 {\n id: reqId\n text: someText\n risk: Medium\n verifymethod: demonstration\n }",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "65423e9f-032a-46bb-939a-620aacb72c1b",
|
|
"category": "RequirementDiagram",
|
|
"description": "sample requirements diagram",
|
|
"content": "designConstraint myReq3 {\n id: reqId\n text: someText\n risk: Low\n verifymethod: test\n }",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "f3c005e4-c1ca-4c59-8981-7d0199840c78",
|
|
"category": "GitGraph",
|
|
"description": "simple git graph",
|
|
"content": "gitGraph\n commit\n commit\n branch develop\n checkout develop\n commit\n commit\n checkout main\n merge develop\n commit\n commit",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "e1dc1d49-17ed-4821-b8f4-4ea7e69dc6ea",
|
|
"category": "GitGraph",
|
|
"description": "tagged commit",
|
|
"content": "commit id: \"Normal\" tag: \"v1.0.0\"",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c2daef1c-2fe9-4762-af73-274dd20c3922",
|
|
"category": "GitGraph",
|
|
"description": "reverse commit",
|
|
"content": "commit id: \"Reverse\" type: REVERSE",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "f9b1b682-5ba9-4b0f-8491-37e8c00745e7",
|
|
"category": "GitGraph",
|
|
"description": "highlighted commit",
|
|
"content": "commit id: \"Highlight\" type: HIGHLIGHT",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "243c6251-5898-4cd6-8453-85684c423dee",
|
|
"category": "GitGraph",
|
|
"description": "reverse commit",
|
|
"content": "commit id: \"Reverse\" type: REVERSE",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "0c003837-d67c-4e12-afea-ac495d38e404",
|
|
"category": "GitGraph",
|
|
"description": "git graph with cherry-pick",
|
|
"content": "gitGraph\n commit id: \"ZERO\"\n branch develop\n commit id:\"A\"\n checkout main\n commit id:\"ONE\"\n checkout develop\n commit id:\"B\"\n checkout main\n commit id:\"TWO\"\n cherry-pick id:\"A\"\n commit id:\"THREE\"\n checkout develop\n commit id:\"C\"",
|
|
"sortingOrder": 5,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "79cfc768-1500-47e8-8827-b33b28f9ebb0",
|
|
"category": "Mindmap",
|
|
"description": "a simple mindmap",
|
|
"content": "mindmap\n Root\n A\n B\n C",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "9f4648c8-0697-4b09-8f45-847f11f9bdca",
|
|
"category": "Mindmap",
|
|
"description": "square",
|
|
"content": "id[I am a square]",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "eec294f8-60a6-4a5f-a6a1-ead4c5f5af77",
|
|
"category": "Mindmap",
|
|
"description": "rounded square",
|
|
"content": "id(I am a rounded square)",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "48f045fc-30db-4f14-9b16-04c72f4ca067",
|
|
"category": "Mindmap",
|
|
"description": "circle",
|
|
"content": "id((I am a circle))",
|
|
"sortingOrder": 4,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "0980f34a-2627-46be-9f63-7924d9db8b20",
|
|
"category": "Mindmap",
|
|
"description": "bang",
|
|
"content": "id))I am a bang((",
|
|
"sortingOrder": 5,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "ff554a9c-5d63-43d8-9de7-2b7cc8945fd8",
|
|
"category": "Mindmap",
|
|
"description": "cloud",
|
|
"content": "id)I am a cloud(",
|
|
"sortingOrder": 6,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "0ffe41de-a327-4e5e-9191-f21dea9be077",
|
|
"category": "Mindmap",
|
|
"description": "hexagon",
|
|
"content": "id{{I am a hexagon}}",
|
|
"sortingOrder": 7,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "73c96ed1-9f4e-4c00-a8bb-96f6dc32e9d1",
|
|
"category": "Mindmap",
|
|
"description": "default",
|
|
"content": "I am the default shape",
|
|
"sortingOrder": 8,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "2e741382-2b79-4c8e-be64-bd8818bacbc9",
|
|
"category": "Mindmap",
|
|
"description": "sample mindmap",
|
|
"content": "mindmap\n root((mindmap))\n Origins\n Long history\n Popularisation\n British popular psychology author Tony Buzan\n Research\n On effectiveness<br/>and features\n On Automatic creation\n Uses\n Creative techniques\n Strategic planning\n Argument mapping\n Tools\n Pen and paper\n Mermaid",
|
|
"sortingOrder": 9,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "fd8a19e0-fd13-42b0-bc3d-f70f4a517ea6",
|
|
"category": "Timeline",
|
|
"description": "sample timeline",
|
|
"content": "timeline\n\t\ttitle History of Social Media Platform\n\t\t2002 : LinkedIn\n\t\t2004 : Facebook\n\t\t\t : Google\n\t\t2005 : Youtube\n\t\t2006 : Twitter",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "26851611-0f5e-4903-bc1d-aaf20d91a7ab",
|
|
"category": "Timeline",
|
|
"description": "timeline with grouping",
|
|
"content": "timeline\n\t\ttitle Timeline of Industrial Revolution\n\t\tsection 17th-20th century\n\t\t\tIndustry 1.0 : Machinery, Water power, Steam <br>power\n\t\t\tIndustry 2.0 : Electricity, Internal combustion engine, Mass production\n\t\t\tIndustry 3.0 : Electronics, Computers, Automation\n\t\tsection 21st century\n\t\t\tIndustry 4.0 : Internet, Robotics, Internet of Things\n\t\t\tIndustry 5.0 : Artificial intelligence, Big data,3D printing",
|
|
"sortingOrder": 2,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "7bc16821-c2f6-402d-acfe-41625398a383",
|
|
"category": "Timeline",
|
|
"description": "timeline with Forest theme. see the docs for additional themes",
|
|
"content": "%%{init: { 'logLevel': 'debug', 'theme': 'forest' } }%%\n\t\ttimeline\n\t\t\ttitle History of Social Media Platform\n\t\t\t 2002 : LinkedIn\n\t\t\t 2004 : Facebook : Google\n\t\t\t 2005 : Youtube\n\t\t\t 2006 : Twitter\n\t\t\t 2007 : Tumblr\n\t\t\t 2008 : Instagram\n\t\t\t 2010 : Pinterest",
|
|
"sortingOrder": 3,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "5ebc370e-37e0-475f-8036-c18e5144f0cd",
|
|
"category": "QuadrantChart",
|
|
"description": "sample quadrant chart",
|
|
"content": "quadrantChart\n\t\ttitle Reach and engagement of campaigns\n\t\tx-axis Low Reach --> High Reach\n\t\ty-axis Low Engagement --> High Engagement\n\t\tquadrant-1 We should expand\n\t\tquadrant-2 Need to promote\n\t\tquadrant-3 Re-evaluate\n\t\tquadrant-4 May be improved\n\t\tCampaign A: [0.3, 0.6]\n\t\tCampaign B: [0.45, 0.23]\n\t\tCampaign C: [0.57, 0.69]\n\t\tCampaign D: [0.78, 0.34]\n\t\tCampaign E: [0.40, 0.34]\n\t\tCampaign F: [0.35, 0.78]",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c4283670-6d36-425d-abe9-ffc0251d4dab",
|
|
"category": "QuadrantChart",
|
|
"description": "themed quadrant chart",
|
|
"content": "%%{init: {\"quadrantChart\": {\"chartWidth\": 400, \"chartHeight\": 400}, \"themeVariables\": {\"quadrant1TextFill\": \"#ff0000\"} }}%%\n\t\tquadrantChart\n\t\t x-axis Urgent --> Not Urgent\n\t\t y-axis Not Important --> \"Important ❤\"\n\t\t quadrant-1 Plan\n\t\t quadrant-2 Do\n\t\t quadrant-3 Delegate\n\t\t quadrant-4 Delete",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "c7226c80-ae6d-49e5-b974-69107b83cb81",
|
|
"category": "C4Diagram",
|
|
"description": "sample C4 diagram (compatible with PlantUML)",
|
|
"content": "C4Context\n\t\ttitle System Context diagram for Internet Banking System\n\t\tEnterprise_Boundary(b0, \"BankBoundary0\") {\n\t\t Person(customerA, \"Banking Customer A\", \"A customer of the bank, with personal bank accounts.\")\n\t\t Person(customerB, \"Banking Customer B\")\n\t\t Person_Ext(customerC, \"Banking Customer C\", \"desc\")\n \n\t\t Person(customerD, \"Banking Customer D\", \"A customer of the bank, <br/> with personal bank accounts.\")\n \n\t\t System(SystemAA, \"Internet Banking System\", \"Allows customers to view information about their bank accounts, and make payments.\")\n \n\t\t Enterprise_Boundary(b1, \"BankBoundary\") {\n \n\t\t\tSystemDb_Ext(SystemE, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n \n\t\t\tSystem_Boundary(b2, \"BankBoundary2\") {\n\t\t\t System(SystemA, \"Banking System A\")\n\t\t\t System(SystemB, \"Banking System B\", \"A system of the bank, with personal bank accounts. next line.\")\n\t\t\t}\n \n\t\t\tSystem_Ext(SystemC, \"E-mail system\", \"The internal Microsoft Exchange e-mail system.\")\n\t\t\tSystemDb(SystemD, \"Banking System D Database\", \"A system of the bank, with personal bank accounts.\")\n \n\t\t\tBoundary(b3, \"BankBoundary3\", \"boundary\") {\n\t\t\t SystemQueue(SystemF, \"Banking System F Queue\", \"A system of the bank.\")\n\t\t\t SystemQueue_Ext(SystemG, \"Banking System G Queue\", \"A system of the bank, with personal bank accounts.\")\n\t\t\t}\n\t\t }\n\t\t}\n \n\t\tBiRel(customerA, SystemAA, \"Uses\")\n\t\tBiRel(SystemAA, SystemE, \"Uses\")\n\t\tRel(SystemAA, SystemC, \"Sends e-mails\", \"SMTP\")\n\t\tRel(SystemC, customerA, \"Sends e-mails to\")\n \n\t\tUpdateElementStyle(customerA, $fontColor=\"red\", $bgColor=\"grey\", $borderColor=\"red\")\n\t\tUpdateRelStyle(customerA, SystemAA, $textColor=\"blue\", $lineColor=\"blue\", $offsetX=\"5\")\n\t\tUpdateRelStyle(SystemAA, SystemE, $textColor=\"blue\", $lineColor=\"blue\", $offsetY=\"-10\")\n\t\tUpdateRelStyle(SystemAA, SystemC, $textColor=\"blue\", $lineColor=\"blue\", $offsetY=\"-40\", $offsetX=\"-50\")\n\t\tUpdateRelStyle(SystemC, customerA, $textColor=\"red\", $lineColor=\"red\", $offsetX=\"-50\", $offsetY=\"20\")\n \n\t\tUpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")",
|
|
"sortingOrder": 1,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "31b2c838-9a6d-45cc-b4ce-72a390a97b3a",
|
|
"category": "SankeyDiagram",
|
|
"description": "",
|
|
"content": "sankey-beta\n %% source,target,value\n Electricity grid,Over generation / exports,104.453\n Electricity grid,Heating and cooling - homes,113.726\n Electricity grid,H2 conversion,27.14",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
},
|
|
{
|
|
"id": "89c31de2-14ce-49e0-ad02-87802d70bb8b",
|
|
"category": "XyChart",
|
|
"description": "a sample XYChart diagram",
|
|
"content": "xychart-beta\n title \"Sales Revenue\"\n x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec]\n y-axis \"Revenue (in $)\" 4000 --> 11000\n bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]\n line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]",
|
|
"sortingOrder": 0,
|
|
"isPinned": false
|
|
}
|
|
],
|
|
"selectedCategory": "Flowchart"
|
|
} |