assigned icons to nodes