styling of nodes and links