expand_links_network
Build a bounded directed link graph around a root eLabFTW experiment or item with BFS, so you can explore incoming and outgoing connections using depth and filter limits.
Instructions
Build the directed link graph around a root experiment/item via BFS. direction is 'both', 'outgoing' or 'incoming'; max_depth is capped at 3; node/edge/fan-out caps and optional filters (allowed_types, category_ids, status_ids, title_regex as JSON arrays/pattern) keep the graph bounded. Returns root, parameters, nodes, edges and truncation flags. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_id | Yes | ||
| direction | No | both | |
| max_depth | No | ||
| max_edges | No | ||
| max_nodes | No | ||
| root_type | Yes | ||
| status_ids | No | ||
| include_raw | No | ||
| title_regex | No | ||
| category_ids | No | ||
| max_per_node | No | ||
| allowed_types | No | ||
| include_node_summaries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |