fixed jgrapht location, replaced notimplementedexceptions