onExpandChild property

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

Callback to partially expand a specific child of a node by name. Used by the search/navigate routine to reveal only the path to a target without fully expanding every level.

Implementation

final Future<SchematicLayoutResult?> Function(
  String nodeId,
  String childName,
)? onExpandChild;