From 7527af522d803d50a55837c7e03269adf73dfa0a Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Mon, 17 May 2021 12:14:00 +0530 Subject: [PATCH] Add more presets --- src/lib/components/preset.svelte | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/lib/components/preset.svelte b/src/lib/components/preset.svelte index 0e0adcde..266593b3 100644 --- a/src/lib/components/preset.svelte +++ b/src/lib/components/preset.svelte @@ -69,7 +69,35 @@ ORDER ||--|{ ORDER-ITEM : includes PRODUCT-CATEGORY ||--|{ PRODUCT : contains PRODUCT ||--o{ ORDER-ITEM : "ordered in" - ` + `, + 'Git Graph': `gitGraph: +options +{ + "nodeSpacing": 150, + "nodeRadius": 10 +} +end +commit +branch newbranch +checkout newbranch +commit +commit +checkout master +commit +commit +merge newbranch + + `, + 'User Journey': ` journey + title My working day + section Go to work + Make tea: 5: Me + Go upstairs: 3: Me + Do work: 1: Me, Cat + section Go home + Go downstairs: 5: Me + Sit down: 3: Me + ` }; const loadSampleDiagram = (diagramType: string): void => {