onPortCollapse property

Future<SchematicLayoutResult?> Function(String nodeId, String portId)? onPortCollapse
final

Callback to collapse a single port's wire and connected trivial gates. Reverse of onPortExpand: removes the traced children/edges from partial expansion.

Implementation

final Future<SchematicLayoutResult?> Function(String nodeId, String portId)?
    onPortCollapse;