fixed #17. Drawing edges between nodes.