found a bug with edges,  wrong source and target sneaking throuhg.  WIP: untested!!