select method to decompose graph