Added new TypedEdgesAdjacency interface to generalize edge types.