cosmograph-org / cosmos

GPU-accelerated force graph layout and rendering
Other
790 stars 52 forks source link

Improvements and Bug Fixes #59

Closed Stukova closed 1 year ago

Stukova commented 1 year ago
  1. Prevents Cosmos from crashing if there are no nodes or links. (Patch)
  2. Updates space and screen size when spaceSize configuration parameter is changed or before the zoom in/out transformation occurs, and fixes the fitView when called before animation starts. (Patch)
  3. Prevents Cosmos from crashing when the spaceSize configuration parameter exceeds the WebGL limit. (Patch)
  4. Resetting the focused and hovered node after graph.setData(). (Patch)
  5. New methods (setFocusedNodeById and setFocusedNodeByIndex) and config parameters (renderHoveredNodeRing, hoveredNodeRingColor and focusedNodeRingColor). (Minor)