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.
If a node is shown as a rectangle, it means the css is not loaded (or not yet loaded). A redraw will fix that.