selection

selection.selectParents

selectParents(fromNodeIds: string[]): Promise<void>

Replace selection with the upstream (incoming) neighbors of the given nodes. Not undoable. Emits "selection:changed".

fromNodeIdsstring[]Source node ids whose incoming neighbors should be selected.

Returns: Promise<void>