watershed now produces region map and thus is compatible with graph extraction