From 0f34a76ded7a0128c56fa8a412a16d77a86342a0 Mon Sep 17 00:00:00 2001 From: Victor Pikula Date: Mon, 21 Feb 2022 15:51:32 +0100 Subject: [PATCH] Also changed 'graph' to 'flowchart' on state.ts --- src/lib/util/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/state.ts b/src/lib/util/state.ts index 73157a54..52e4f616 100644 --- a/src/lib/util/state.ts +++ b/src/lib/util/state.ts @@ -6,7 +6,7 @@ import { saveStatistics } from './stats'; import { serializeState, deserializeState } from './serde'; export const defaultState: State = { - code: `graph TD + code: `flowchart TD A[Christmas] -->|Get money| B(Go shopping) B --> C{Let me think} C -->|One| D[Laptop] @@ -25,7 +25,7 @@ export const defaultState: State = { updateDiagram: true }; -const urlParseFailedState = `graph TD +const urlParseFailedState = `flowchart TD A[Loading URL failed. We can try to figure out why.] -->|Decode JSON| B(Please check the console to see the JSON and error details.) B --> C{Is the JSON correct?} C -->|Yes| D(Please Click here to Raise an issue in github.
Including the broken link in the issue
will speed up the fix.)