analyze_reachability
Compute all nodes reachable from a source node in a diagram, with distances and target reachability checks. Use it to map paths and verify node accessibility.
Instructions
Analyze reachability from source node.
Computes all nodes reachable from source and their distances.
Args: diagram_id: ID of diagram source: Source node ID targets: Optional specific nodes to check
Returns: dict with reachable_nodes list, distances, target_reachability
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| targets | No | ||
| diagram_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||