Drawing graphs withiout Data.Graph.Inductive
Filter out dangling edges