typedb / typedb-studio

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

Graph visualiser grid snapping #695

Open flyingsilverfin opened 1 year ago

flyingsilverfin commented 1 year ago

Problem to Solve

When taking screenshots and creating visualisations for presentations, we often have to align graph elements to make them look nice. This would be hugely simplified with a option to snap elements to a grid when dragging nodes.

Current Workaround

Manually measure the screen/use an overlay to know when two graph elements are lined up horizontally and vertically.

Proposed Solution

Introduce a hotkey that would pop up a background dashed-gray grid when dragging a element. Then when dragging the element its center would snap to the grid centers.