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.)