Drawing of nodes and edges working