jupyterlab-drawio icon indicating copy to clipboard operation
jupyterlab-drawio copied to clipboard

Embed into a Jupyter Notebook

Open kalugny opened this issue 7 years ago • 6 comments

Hi! Thanks for a great plugin.

I have a request - I know it's possible to export and to embed the PNG, but it'd be great to embed the diagram itself which may be editable inside the notebook or that will open the editor on double-click.

Thanks!

kalugny avatar Jun 10 '18 11:06 kalugny

Yes, it would be nice, wouldn't it? I would take this a step further. The killer feature would be deeper integration. The diagram should be parametrized or linked to workbook data in some form.

cutephoton avatar Jul 28 '19 09:07 cutephoton

Yes, it would be nice, wouldn't it? I would take this a step further. The killer feature would be deeper integration. The diagram should be parametrized or linked to workbook data in some form.

Definitely a killer feature, much like what is possible with Mathematica. Why not leverage Geogebra (and its Python View API if it's still available)?

nudurumatisk avatar Aug 02 '19 17:08 nudurumatisk

Don't know about Geogebra. Seems like a different use case? I'm interesting in being able to draw conceptual electrical circuits and having part values updated once I feed parameters in to a series of calculations.

cutephoton avatar Aug 02 '19 17:08 cutephoton

Ideally this would work in such a way that math written in latex in the diagram gets rendered appropriately in the notebook (e.g. same size as the text independently of scaling).

gnzlbg avatar Apr 06 '20 18:04 gnzlbg

Instead of embedding the editor in a notebook, it's probably better to streamline the "export as png/svg" workflow, so that the diagrams are automatically exported when modified and updated inside notebooks using them.

stefano-xy avatar Nov 23 '20 14:11 stefano-xy

Maybe this feature should open in jupyter-lab code base?

libo96 avatar Jun 29 '21 07:06 libo96