touretzkyds / KnowledgeGraphDemo

Visualization tools for KnowledgeGraphDemo
Apache License 2.0
0 stars 2 forks source link

zoom level when we exit property view #57

Open touretzkyds opened 2 years ago

touretzkyds commented 2 years ago

When we click on a node to enter the property view, we zoom in to make everything readable, and this is working great. But when we then click on empty space to exit the property view, we zoom way out again, which can make it hard to locate the node we were just looking at.

Instead of going back to the default zoom level, when we exit property view we should zoom out by just a tiny amount. so that the node and its properties are still centered and visible. If the user wants to zoom out more they can do so with the scroll wheel.