added class for node
edges