onNodeToggle property

Future<SchematicLayoutResult?> Function(String nodeId)? onNodeToggle
final

Callback when a node with children is tapped to expand/collapse. Returns a Future with the updated layout model.

Implementation

final Future<SchematicLayoutResult?> Function(String nodeId)? onNodeToggle;