Comments (3)
Run using the dev=1 URL parameter and the non-minified version of the code will be used. Note that you will need to map
document.location.protocol + '//devhost.jgraph.com/mxgraph2'
to the mxGraph project. We have mxGraph locallly, but I guess mapping it to Github should also work.
If you want things like handles, then yes, you'll need to implement in JS. You can follow the basic idea for the sidebar code, as you've seen. The build.xml does need to be updated, currently, for new additions. We probably should just wildcard that if the minifier allows it.
The other place stencils are referenced is in com.mxgraph.online.EmbedServlet2.initLibraries, which is the embed server-side code. If you're using embedding, you could override the class and add another init that calls this one.
from drawio.
See also: https://github.com/jgraph/mxgraph/blob/master/javascript/examples/grapheditor/www/js/Shapes.js
from drawio.
Thanks, I’ll go with that!
If you paste it to the wiki it would be great since it would be easy to find for others (and me to refind it, too 😃 )
from drawio.
Related Issues (20)
- Alt + scroll zoom broken for magic mouse
- Cropped images break on duplicated / new pages (no way to recover) HOT 2
- Course attainment software HOT 1
- No compress in SVG format HOT 3
- Importing VSDX file will remove relations between Object. HOT 2
- Inquiry Regarding Triggering Click Event on Diagram Load in Angular
- When pasting from VS Code, indentation is lost on MACOSX HOT 1
- In the Notion plugin, the preview of images cannot be properly adjusted.
- draw io addons for google workspace have disappeared HOT 33
- When using gitlab, Share opens wrong link to members page
- Diagram elements should not be duplicated after opening file .drawio
- Spacing between children of a stack layout HOT 1
- Embed diagrams stored in GitLab to Confluence Cloud
- Gitlab api 404 when listing branches using Create New or Open Existing
- How to draw a line with rounded endings in draw.io?
- Unable to open .drawio files from OneDrive web app. HOT 2
- Share functionality on the webpage is not working HOT 1
- Misleading translation of 'reverse' in Dutch HOT 1
- PDF export returns error (502 Bad Gateway, 1033 Argo Tunnel error) HOT 1
- Docker image drawio connected with private GitHub Enterprise
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drawio.