Fit graph plugin for new Jung. (replace isNeighbor method by
appropriate equivalent)