Attract or push away nodes to shape