New zoom controls and interactions
We now provide scroll interactions to zoom in-and-out of the graph visualisation, providing an alternative to the simple zoom buttons.
With this release, you'll now be able to use trackpad zoom gestures or a mousewheel with a modifier key to zoom in and out of the visualisation. On mac you can trigger zoom with ⌘ + scroll and on Windows and Linux ctrl + scroll. The modifier is required in the normal Browser view so we don't interfere with page scrolling, but in full screen the modifier key isn't required.
We've also added a handy fit-to-screen feature (underneath the zoom buttons) so that you can instantly fit all nodes into the view - handy when you're looking to see all your query results on screen at once.
1*QpPB0VXee6vW5nkt_4WWTg
Updated visualization library
We've made some under the hood upgrades to the d3 visualization library that powers the Browser visualization. You shouldn't see many differences in the overall layout and interactions, but should find the layouts stabilizes more quickly and have slightly smoother interactions on larger result graphs. Do let us know if you have any comments on our feedback page.
Parameter Assistance
Cypher queries with placeholder inputs are most performant when parameterized. These allow the Neo4j query engine to cache the execution plan. If you're not familiar with query parameters you can read more about them here.
Browser today allows you can declare parameters with the :param command for a single parameter, or the :params command to declare an object of parameters.
In this release, we're making it easier for you to construct a params object in the editor. When the query you are trying to execute has undefined parameters, you'll now see a help link under the error to assist you in setting parameters. Clicking it will construct a :params command for you with pre-existing parameters already set and placeholders for you to populate the missing parameters.
We hope this will help new users learn the parameter syntax more easily and be an added convenience for experienced users too.
1*uWq4f-BDGWYX_w1zvrAx9Q-2