QuantStack / jupyterlab-drawio

A standalone embedding of the FOSS drawio / mxgraph package into jupyterlab
BSD 3-Clause "New" or "Revised" License
600 stars 75 forks source link

Additional libraries #4

Open amcdawes opened 6 years ago

amcdawes commented 6 years ago

Is there now, or will there be a way to enable additional draw.io libraries? I suspect this is in the works already, just opening an issue so I can keep up with updates. This is an awesome addition to jupyterlab, thanks for your work on it!

SylvainCorlay commented 6 years ago

What do you mean by additional libraries specifically?

amcdawes commented 6 years ago

Using draw.io outside of jupyterhub (i.e. at the main web page) I see the option to choose "more shapes". The draw.io docs refer to these as shape libraries. Users can create their own as well.

screen shot 2018-02-26 at 2 37 07 pm

There are many useful libraries such as electronic schematics (and others).

screen shot 2018-02-26 at 2 37 21 pm

I suspect this is something that could be enabled, but I don't know much about the draw.io settings. I'll continue to poke around though.

wolfv commented 6 years ago

these shapes can indeed be loaded from xml files. we need to figure out how we want to ship them (ie. something that can be additionally installed, or enabled in the settings..?)

Belisarith commented 5 years ago

@wolfv How can you load the additional shapes from xml files?