toNodeCollection

open override fun toNodeCollection(predicate: (EdgeType) -> Boolean?): Collection<NodeType>

Converts this collection of edges into a collection of nodes for easier access to the "target" nodes.

Note, that is an immutable list and only a snapshot. If you want a magic container that is in sync with this EdgeCollection, please use unwrap.