Skip to content

@graphty/cytoscape-extensions / index / CutResult

Interface: CutResult ​

Defined in: cytoscape-extensions/src/algorithms.ts:232

A cut, like the result of Cytoscape's kargerStein with partition1 and partition2 named partitionFirst and partitionSecond, plus value and without components.

Properties ​

cut ​

readonly cut: EdgeCollection

Defined in: cytoscape-extensions/src/algorithms.ts:236

The edges that cross the cut.


partitionFirst ​

readonly partitionFirst: NodeCollection

Defined in: cytoscape-extensions/src/algorithms.ts:238

The nodes on one side: the source side for a flow or s-t cut.


partitionSecond ​

readonly partitionSecond: NodeCollection

Defined in: cytoscape-extensions/src/algorithms.ts:240

The nodes on the other side.


value ​

readonly value: number

Defined in: cytoscape-extensions/src/algorithms.ts:234

The total weight (capacity) of the cut edges.