krassowski / jupyterlab-transformers-completer

Inline completion provider using tranformers.js for JupyterLab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatibility with yfiles_jupyter_graphs

alonsosilvaallende opened this issue · comments

The package appears to be incompatible with the package yfiles_jupyter_graphs.
To reproduce

pip install jupyterlab jupyterlab-transformers-completer yfiles_jupyter_graphs

Then on the first cell:

from yfiles_jupyter_graphs import GraphWidget

w = GraphWidget()
w.show()

There will be an infinite "Calculating Organic layout" and it will not stop.

It might be the case if yfiles_jupyter_graphs pulls some data from external resources. Because this extension needs access to shared array feature, it has to enable stricter security policies:

Cross-Origin-Opener-Policy: same-origin,
Cross-Origin-Embedder-Policy: require-corp

which prevents fetching of such external resources.

Thank you for your answer. That makes sense.
Thank you.