cand draw nodes and edges.