persisting links. changed behavior of link creation in graph.