-
Notifications
You must be signed in to change notification settings - Fork 169
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
What's the syntax for displaying a FontAwesome icon? #53
Comments
Found the answer... pretty clever library, the options are dictionaries mirroring the JS code.
|
The answer lies in https://pyvis.readthedocs.io/en/latest/documentation.html#pyvis.network.Network.add_node and the 'group' optional parameter to the node. |
Please note I still have to hack in the font-awesome CSS...
|
Elegant solution. I spent the evening trying to figure this out. |
Answered: #53 (comment) |
What's the syntax for displaying a FontAwesome icon at a given node location?
I've skimmed everything here in the repo, I see the add_node(... shape='icon',... ) but how to add the other icon parameters? If this needs hacking where would I start to achieve something like:
https://visjs.github.io/vis-network/examples/network/nodeStyles/customGroups.html ?
Thanks!
The text was updated successfully, but these errors were encountered: