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

Method to display the version number of the current vis network library #2190

Open
dmccreary opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@dmccreary
Copy link

First of all, thank you for this awesome library. I am using it to teach instructors how to build learning graphs.

I am using the following line to always get the latest version of vis-network:

<script src="https://unpkg.com/vis-network/dist/vis-network.min.js"></script>

I understand this is how we should always get the latest stable version of the vis-network.

Although I can always open this file:

https://unpkg.com/vis-network/package.json

I was hoping there would be a property such as:

network.version

that we could access in our code to display the current version number.

Perhaps this exists, but the feature is just not documented.

Thank you for your help.

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

1 participant