Add graph view filtering and label wrapping#73
Conversation
|
the |
Improve the 'list nodes as Graph' command for large DAGs: - Collapse coalesce nodes by default (hide _primary/_alt nodes) - Add --type filter for comma-separated node types - Add --depth limit for max levels from root - Add --show-type flag to prefix labels with [type] - Add --max-label-width to wrap long labels at word boundaries (default 30)
942d01d to
101b8b5
Compare
Yes, it was truncating, not filtering. now the --type filter now skips non-matching nodes but continues walking through them — children reconnect to the nearest visible ancestor instead of being truncated. Skipped nodes aren't added to the nodes map so they don't appear in the graph, but their sources are still walked so deeper matching nodes remain reachable. |
Improve the 'list nodes as Graph' command for large DAGs: