cleanup Graph, add connectivity testing, s/from/src, s/to/dest, disallow loop in Edge