Skip to content

Legend should only show vertex types visible on the canvas #1730

@kmcginnes

Description

@kmcginnes

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestperformanceIssues relating to performanceusabilityIssues relating to the ease of use of the UI or features
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions