Also changed 'graph' to 'flowchart' on state.ts

This commit is contained in:
Victor Pikula
2022-02-21 15:51:32 +01:00
committed by GitHub
parent ee934c60b4
commit 0f34a76ded
+2 -2
View File
@@ -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.<br/>Including the broken link in the issue <br/> will speed up the fix.)