OpenFn / lightning

OpenFn/Lightning ⚡️ is the newest version of the OpenFn DPG and provides a web UI to visually manage complex workflow automation projects.
https://openfn.github.io/lightning/
GNU Lesser General Public License v3.0
115 stars 31 forks source link

Workflow Diagram: remove node text at low zoom levels #2220

Open josephjclark opened 3 days ago

josephjclark commented 3 days ago

When you zoom a long way out of the chart, it becomes impossible to read text labels or see a node's content.

It should be possible to implement a contextual zoom feature, where nodes and edges render a bit differently at different zoom levels.

At very low zoom levels, with a lot of nodes on screen, I would remove all the labels and just show a large icon. I might even make the icon bigger to make it a bit more readable (if we can do that without overlaps)