Also changed 'graph' to 'flowchart' on state.ts
This commit is contained in:
@@ -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.)
|
||||
|
||||
Reference in New Issue
Block a user