Implement get in/out/any edges operation and cover it with tests.