memgraph / orb

Graph visualization library
Apache License 2.0
364 stars 17 forks source link

Fix: Add throttle render to renderer via fps settings #29

Closed tonilastre closed 2 years ago

tonilastre commented 2 years ago

Fixes issue: #15

A throttle is added for render calls to skip renders depending on the defined FPS (frame per second) parameter. This will enable users to call orb.view.render() within events without fear to have performance issues.

New settings parameter is available, render.fps, with a default value of 60. It can be changed anytime.