Legend should only show vertex types visible on the canvas
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 108
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 7
Description
## Description
The graph viewer legend currently shows all vertex types from the schema, not just the types that are visible on the canvas. For schemas with many types (70k+), this makes the legend unusable. Even for moderate schemas, showing types that have no nodes on the canvas adds noise.
## Preferred Solution
Filter the legend entries to only include vertex types that have at least one node currently on the canvas. The legend should update reactively as nodes are added or removed.
---
> [!IMPORTANT]
> If you are interested in working on this issue, please leave a comment.
> [!TIP]
> Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
Contributor guide
Assessment
This issue has not been assessed yet.