Adjusted as per @ashishjain0512 review comments

This commit is contained in:
Knut Sveidqvist
2023-01-11 19:40:25 +01:00
parent 094b97de12
commit 3f7f04e02f
2 changed files with 3 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
{ {
"name": "@mermaid-js/mermaid-mindmap", "name": "@mermaid-js/mermaid-flowchart-v3",
"version": "9.2.2", "version": "9.4.0",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.", "description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"module": "dist/mermaid-mindmap.core.mjs", "module": "dist/mermaid-mindmap.core.mjs",
"types": "dist/detector.d.ts", "types": "dist/detector.d.ts",
"type": "module", "type": "module",
"exports": { "exports": {
".": { ".": {
"import": "./dist/mermaid-mindmap.core.mjs", "import": "./dist/mermaid-flowchart-v3.core.mjs",
"types": "./dist/detector.d.ts" "types": "./dist/detector.d.ts"
}, },
"./*": "./*" "./*": "./*"

View File

@@ -82,7 +82,6 @@ that id.
<click>[\s\n] this.popState(); <click>[\s\n] this.popState();
<click>[^\s\n]* return 'CLICK'; <click>[^\s\n]* return 'CLICK';
"cyto" {if(yy.lex.firstGraph()){this.begin("dir");} return 'GRAPH';}
"graph" {if(yy.lex.firstGraph()){this.begin("dir");} return 'GRAPH';} "graph" {if(yy.lex.firstGraph()){this.begin("dir");} return 'GRAPH';}
"flowchart" {if(yy.lex.firstGraph()){this.begin("dir");} return 'GRAPH';} "flowchart" {if(yy.lex.firstGraph()){this.begin("dir");} return 'GRAPH';}
"subgraph" return 'subgraph'; "subgraph" return 'subgraph';