Closed manics closed 3 years ago
Thanks for the full description!
Yep, sketch is pretty new, and rather aggressive in what it does to shapes. However, most folk seemed interested in the simplest-possible default, but we can go back to min (or kennedy) if it's not fully cooked.
In the meantime, you can change your default theme through the settings menu -> diagram theme. Or use the "Custom Diagram..." Launcher card and pick a different one. I tried making a launcher card for all the themes, but it was getting to be too much, and there's no official way to save it in an mxfile.
There was a new drawio release today, which I'm hoping to include in a 1.1.1 ipydrawio release in the coming days, and it claims to have some sketch fixes.
Anyhow, this might be worth validating upstream and/or reporting at jgraph/drawio.
I merged #44 which is pretty close to being 1.1.1... it's probably worth checking out binder to see if it's still showing the condition on sketch, but the more i look at it, that's probably just what it's going to do. So that leaves us going back to min
or the full kennedy
as the default theme, which probably deserves a separate issue...
Thanks for the quick response! drawio conveniently publish their master branch on github pages so it was easy to reproduce https://jgraph.github.io/drawio/src/main/webapp/index.html?ui=sketch
Created issue here: https://github.com/jgraph/drawio/issues/2071
If you're just after the UI and don't care about the sketch effect itself, use ui=sketch&rough=0 as parameters.
The default is back to min
as of the release of #49, so one would have to actively seek the sketch stuff. closing this out.
Description
AWS19
shapes are very distorted. I've idea whether this is a drawio issue, or if it's to do with how ipydrawio is embedding/configuring drawio.Reproduce
Launch JupyterLab
Create a new ipydraw diagram
Click the
Shapes
icon, then+ More Shapes
Select the
AWS19
shape set, andApply
Expand the
AWS / Compute
shape set, the icons are distortedThe brower console shows
http://127.0.0.1:8888/lab/extensions/@deathbeds/ipydrawio-webpack/static/dio/index.html?db=0&drafts=0&gapi=0&gh=0&gl=0&od=0&picker=0&stealth=1&svg-warning=0&thumb=0&tr=0&ui=sketch&embed=1&proto=json&configure=1&p=ex;tips;svgdata;sql;anim;trees;replay;anon;flow;webcola;tags
is being loaded, and AFAICT it's related to theui=sketch
option.If I open
http://127.0.0.1:8888/lab/extensions/@deathbeds/ipydrawio-webpack/static/dio/index.html?ui=sketch
, go through the prompts, and enableAWS19
, I see the same distorted iconsIf I open
http://127.0.0.1:8888/lab/extensions/@deathbeds/ipydrawio-webpack/static/dio/index.html
, go through the prompts, and enableAWS19
the icons look OKContext
Required: installed server extensions
Required: installed lab extensions