This commit is contained in:
lxsang 2020-11-29 23:34:55 +01:00
parent 00ff78aca8
commit 38b1665a8b
8 changed files with 13 additions and 21 deletions

View File

@ -4,14 +4,10 @@ Generate graph from text using mermaid
## Change logs ## Change logs
### v0.0.6-a * v0.0.8-a: Fix ace path
* Fix worker path * v0.0.7-a: Fix worker path
* v0.0.6-a: Fix unable to export image from tainted canvas
### v0.0.6-a * v0.0.5-a: GraphEditor is now compatible with new AntOS API
* Fix unable to export image from tainted canvas
### v0.0.5-a
* GraphEditor is now compatible with new AntOS API
Note: This application use the open source library [Mermaid js](https://mermaid-js.github.io/mermaid) for graph rendering Note: This application use the open source library [Mermaid js](https://mermaid-js.github.io/mermaid) for graph rendering

View File

@ -4,14 +4,10 @@ Generate graph from text using mermaid
## Change logs ## Change logs
### v0.0.6-a * v0.0.8-a: Fix ace path
* Fix worker path * v0.0.7-a: Fix worker path
* v0.0.6-a: Fix unable to export image from tainted canvas
### v0.0.6-a * v0.0.5-a: GraphEditor is now compatible with new AntOS API
* Fix unable to export image from tainted canvas
### v0.0.5-a
* GraphEditor is now compatible with new AntOS API
Note: This application use the open source library [Mermaid js](https://mermaid-js.github.io/mermaid) for graph rendering Note: This application use the open source library [Mermaid js](https://mermaid-js.github.io/mermaid) for graph rendering

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com", "email": "xsang.le@gmail.com",
"licences": "GPLv3" "licences": "GPLv3"
}, },
"version":"0.0.7-a", "version":"0.0.8-a",
"category":"Office", "category":"Office",
"iconclass": "fa fa-sitemap", "iconclass": "fa fa-sitemap",
"mimes":["text/.*graphviz"] "mimes":["text/.*graphviz"]

View File

@ -30,7 +30,7 @@ class GraphEditor extends this.OS.application.BaseApplication
@datarea = @find "datarea" @datarea = @find "datarea"
@preview = @find "preview" @preview = @find "preview"
@btctn = @find "btn-container" @btctn = @find "btn-container"
ace.config.set("basePath", "#{window.location.pathname}/scripts/ace") ace.config.set("basePath", "scripts/ace")
@editor = ace.edit @datarea @editor = ace.edit @datarea
@editor.setOptions { @editor.setOptions {
enableBasicAutocompletion: true, enableBasicAutocompletion: true,

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com", "email": "xsang.le@gmail.com",
"licences": "GPLv3" "licences": "GPLv3"
}, },
"version":"0.0.7-a", "version":"0.0.8-a",
"category":"Office", "category":"Office",
"iconclass": "fa fa-sitemap", "iconclass": "fa fa-sitemap",
"mimes":["text/.*graphviz"] "mimes":["text/.*graphviz"]

View File

@ -86,7 +86,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/GraphEditor/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/GraphEditor/README.md",
"category": "Office", "category": "Office",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.0.7-a", "version": "0.0.8-a",
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/GraphEditor/build/release/GraphEditor.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/GraphEditor/build/release/GraphEditor.zip"
}, },
{ {