Create and edit your draw.io diagrams directly from within the Atom editor.
This is an early release - please feel free to contribute and improve this package.
atom-drawio now creates and edits SVG files directly (by leveraging the draw.io feature of embedding the draw.io document in the image), so you can reference these images from markdown, e.g. README.md on your projects and they should render.
(above cannot be viewed via atom.io website, instead view in github here)
The atom-drawio project is released under the MIT License.
Draw.io itself is released by jpgraph under the Apache-2.0 License
Note: Change branch names below as appropriate - update here for reference.
git subtree add --prefix drawio https://github.com/gbevan/drawio.git D20180402_support_atom --squash
git subtree pull --prefix drawio https://github.com/gbevan/drawio.git D20180402_support_atom --squash
git remote add gbevan-drawio email@example.com:gbevan/drawio.git
cd drawiogit diff-tree -r --name-status gbevan-drawio/D20180402_support_atom837953b034d80c38b0f428f2cffffef449441718M src/main/webapp/cache.manifestM src/main/webapp/js/app.min.jsM src/main/webapp/js/viewer.min.js
This still reports changes even after the push to the subtree remote. Found this discussion - https://github.com/progit/progit2/issues/571
git diff-tree -r --name-status HEAD:drawio/ gbevan-drawio/D20180402_support_atom
(changes must have been committed) TODO: further testing needed of this above.
To push changes back to the subtree fork:
git subtree push --prefix drawio gbevan-drawio D20180402_support_atom
and raise pull requests against the upstream repo as needed.
npm run-script build
This prepares the drawio build by running
ant all in
*.min.js files for drawio.
links the local clone to Atom for testing, prior to release.
# for a patch releaseapm publish patch# for a minor releaseapm publish minor# for a major releaseapm publish major
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.