Support to select edges
Refactoring again: Create graph class.