Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query: Network Graph in Offline Mode #36

Open
iamramengirl opened this issue Jun 21, 2019 · 2 comments
Open

Query: Network Graph in Offline Mode #36

iamramengirl opened this issue Jun 21, 2019 · 2 comments

Comments

@iamramengirl
Copy link

Hi,

Is there a way to generate a network graph using pyviz on a machine with no internet access?
Thanks in advance!

Kind Regards

@erip
Copy link

erip commented Nov 13, 2020

This is technically easy to do. These two lines will need to point to a local resource instead of a CDN (and seem to have before). It seems like vis.js is licensed under MIT and Apache 2.0 but claims the user may claim either. To bundle that in this repo (licensed BSD), the LICENSE would need to change which has implications that the maintainers, their legal counsel, and the users of this repo would need to be made aware of. BSD and MIT are very similar licenses, so it's not unreasonable but IANAL.

@Shevyar
Copy link

Shevyar commented Apr 28, 2022

It's much easier to do. You don't even need to point to a local resource. You should just copy code from CDN and insert under <script> tag in ...\pyvis\templates\template.html
Updating template will affect all graphs you will do after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants