Code needed to alter nodes for InfoMap