We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there any documentation for use with VueJs?
The text was updated successfully, but these errors were encountered:
Hello,
There is none yet. However, I've plugged sigma.js in a Vue application once, and the process is quite the same as with React and Angular:
<div id="graph-container" ref="sigmaRoot" class="absolute inset-0" />
sigmaInstance
sigmaRoot
setup() { return { // ... sigmaRoot: ref<HTMLDivElement | null>(null), sigmaInstance: shallowRef<Sigma | null>(null), }; }
mounted
mounted() { this.sigmaInstance = new Sigma( someGraph, this.sigmaRoot ); // Bind events, etc... }
unmounted
beforeUnmount() { // Unbind events, etc... this.sigmaInstance.kill(); this.sigmaInstance = null; }
And that's basically it.
I'll leave this ticket opened so that we release a working example at some point, similar to what we did with Angular (which is probably outdated...).
Sorry, something went wrong.
Thank you. I am patiently waiting for the sample you will publish. @jacomyal
No branches or pull requests
Is there any documentation for use with VueJs?
The text was updated successfully, but these errors were encountered: