QuantStack / jupyterlab-drawio

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

Make some dependencies optional #98

Open jtpio opened 3 years ago

jtpio commented 3 years ago

In the main plugin entrypoint, a couple of dependencies are marked as requires:

https://github.com/QuantStack/jupyterlab-drawio/blob/938cc9271d4ae1bca2599368a280150f404da9fb/src/index.ts#L68

Ideally ILayoutRestorer, ILayoutRestorer and ICommandPalette could be set as optional instead, which would make using jupyterlab-drawio in other lab distributions easier.