typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 43 forks source link

Display connected attribute values in preview pane when selecting Relations or Entities in graph #576

Open TheDr1ver opened 2 years ago

TheDr1ver commented 2 years ago

Problem to Solve

When browsing graphs, it's difficult/requires many clicks and scrolling to get the values of connected information, especially in large graphs.

Current Workaround

For example, I may have a Relation called network-service that has multiple Attributes (e.g. port 22, os Ubuntu, software SSH), but when I click on network-service I have to click on each individual attribute to see its value. In large graphs, these Attributes can be quite far apart from their connected Relation.

Proposed Solution

In the Preview pane, instead of just displaying the IID, display the IID's and values of all connected attributes.

Ideally, when selecting a Relation it would show all directly connected attributes as well as the attributes of any Entities or Relations connected to the selected Relation, but I can see how that might potentially cause performance issues.

Additional Information

image

alexjpwalker commented 2 years ago

Thanks for the proposal - I agree, this would be a major boost to usability!