update graph editor

This commit is contained in:
lxsang 2020-11-19 20:18:10 +00:00
parent dbe567aad9
commit 0532d1fbeb
8 changed files with 11 additions and 5 deletions

View File

@ -4,6 +4,9 @@ Generate graph from text using mermaid
## Change logs ## Change logs
### v0.0.6-a
* Fix worker path
### v0.0.6-a ### v0.0.6-a
* Fix unable to export image from tainted canvas * Fix unable to export image from tainted canvas

View File

@ -4,6 +4,9 @@ Generate graph from text using mermaid
## Change logs ## Change logs
### v0.0.6-a
* Fix worker path
### v0.0.6-a ### v0.0.6-a
* Fix unable to export image from tainted canvas * Fix unable to export image from tainted canvas

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.6-a", "version":"0.0.7-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", "/scripts/ace") ace.config.set("basePath", "#{window.location.pathname}/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.6-a", "version":"0.0.7-a",
"category":"Office", "category":"Office",
"iconclass": "fa fa-sitemap", "iconclass": "fa fa-sitemap",
"mimes":["text/.*graphviz"] "mimes":["text/.*graphviz"]

View File

@ -77,7 +77,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.6-a", "version": "0.0.7-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"
}, },
{ {