Added forEachUnlinkedNode() function, which is useful for dimming down unconnected nodes and links.