When working with nodes that have large properties (e.g., vector embeddings), the Neo4j Browser often grinds to a halt due to the volume of data being rendered, especially in the table view. While these properties are necessary for certain calculations and storage, they are not always needed for visualization purposes.
Proposed Solution
Introduce a configuration option in Neo4j Browser that allows users to exclude specific properties from being returned in the result set when visualizing data. This could be done through:
  1. Browser Settings:
    An option in the settings panel to specify properties to exclude.
  2. Query Annotation:
    Special annotations or hints in Cypher queries to exclude certain properties from the result set.
  3. Dynamic Exclusion:
    A toggle in the result panel to hide/show specific properties.
  4. Configuration in Docker Compose:
Allow users to specify properties to exclude and array length limits directly in the Docker Compose file. Example:
```yml
environment:
- NEO4J_browser_customizations_hide_properties=embedding,vector
- NEO4J_browser_customizations_array_length_limit=50
```
Benefits
  • Performance Improvement:
    Reduces the data load during visualization, leading to faster query execution and rendering.
  • User Control:
    Allows users to tailor their visualization experience without modifying queries.
  • Flexibility:
    Supports advanced use cases where nodes contain heavy properties not needed for every visualization.