withNodes

open fun withNodes(nodes: Set<Node>): Graph