Added more methods to GraphConstructor, added javadoc for GraphConstructor.