Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show database statistics when first loading UI #256

Open
prrao87 opened this issue Mar 10, 2025 · 0 comments
Open

Show database statistics when first loading UI #256

prrao87 opened this issue Mar 10, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@prrao87
Copy link
Member

prrao87 commented Mar 10, 2025

Related to kuzudb/kuzu#5025

Use case

When a user opens their graph visualization, it's useful to immediately display the counts of all nodes/rels so that they know roughly how large a graph they're looking at.

This is common in other graph visualization tools (example below). The goal of this feature is to have a sidebar that shows these statistics so that the user immediately knows what size graph they're looking at.

G.V()

The following example shows the number of nodes and rels neatly grouped by label/table name. Once kuzudb/kuzu#5025 is merged, we will have a convenience function that allows us to retrieve this in one command rather than running multiple commands and collecting the information.

Image

Neo4j browser

In the below example, it's immediately obvious that the graph has 43k nodes and no relationships (no need to waste time running two Cypher queries to figure that out).

Image

@prrao87 prrao87 changed the title Show database statistics Show database statistics when first loading UI Mar 10, 2025
@prrao87 prrao87 added the enhancement New feature or request label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant