From b28028ac4082842143b0f528d6bc539da6ccb419 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 21 Sep 2017 12:49:18 -0400 Subject: mega changes, including updates and X --- www/lib/vis/examples/network/nodeStyles/icons.html | 196 +++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 www/lib/vis/examples/network/nodeStyles/icons.html (limited to 'www/lib/vis/examples/network/nodeStyles/icons.html') diff --git a/www/lib/vis/examples/network/nodeStyles/icons.html b/www/lib/vis/examples/network/nodeStyles/icons.html new file mode 100644 index 00000000..859fc065 --- /dev/null +++ b/www/lib/vis/examples/network/nodeStyles/icons.html @@ -0,0 +1,196 @@ + + + + + + Network | node as icon + + + + + + + + + + + + + +

+Icons can be used for nodes as well. This example shows Icons from fontAwesome and Ionicons but it should work with similar packages as well. + It uses unicode and css to define the icons.

Remember! Unicode in javascript is done like this: \uf274 for the unicode f274. +
If a node is shown as a rectangle, it means the css is not loaded (or not yet loaded). A redraw will fix that. + +

+ +

+ Use FontAwesome-icons for nodes

+
+

+ Use Ionicons-icons for nodes

+
+ + + + -- cgit v1.2.3