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

Dynamic background image to move with graph #1369

Closed
jackfrost1411 opened this issue Jul 13, 2023 · 2 comments
Closed

Dynamic background image to move with graph #1369

jackfrost1411 opened this issue Jul 13, 2023 · 2 comments

Comments

@jackfrost1411
Copy link

How to do the following?:
It mostly depends if you need it to move in sync with the graph camera or not. If you don't, simple html/css should suffice. If you need it to move, sigma.js does not provide this option per se but the renderer has a beforeRender & afterRender event you can listen to to make this work.

Originally posted by @Yomguithereal in #1333 (comment)

@jacomyal
Copy link
Owner

The example clusters-labels (demo, sources) shows you all you need to synchronize a custom layer of your own with a sigma camera.

The example shows an SVG layer that is above all sigma layers, but you can put in behind using CSS for instance.

@jackfrost1411
Copy link
Author

jackfrost1411 commented Jul 24, 2023 via email

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

2 participants