softvis-research / jqa-dashboard

Dashboard for analyzing and visualizing software artifacts' data scanned with jQAssistant and stored in a Neo4j graph database.
Apache License 2.0
40 stars 16 forks source link

Idea: Visualization Wizard #5

Open feststelltaste opened 6 years ago

feststelltaste commented 6 years ago

Context

Currently, there are some predefined visualizations with predefined cypher queries possible. It would be great if there was a feature that guides you to your own, custom visualization using your own custom cypher query.

Idea

Implement a "Visualization Wizard" that helps you to create your own custom visualization by

  1. Listing possible visualizations (form a set of predefined visualizations) in kind of a gallery
  2. Listing and describing the required cypher query result that is needed for each visualization (plus: including an example query)
  3. Offering an "Create" button that adds a new entry in the menu with the custom visualization as new web page

In the first step, I think it would be enough for a newly created, custom visualization if there is a new web page with the chosen visualization and an enabled expert mode (see #4).

Things to think about

Where should the customization data be stored? A possible way could be using HTML5 Web Storage (like , as I think, the "Favorites" section in the Neo4j Frontend does work to save and load custom cypher queries). Including a simple file export / file import function would be good enough for the start.