Releases
v2.1.0
Compare
Sorry, something went wrong.
No results found
✨ Added
Position Rescaling : Automatic position rescaling with rescalePositions
config option and dontRescale
parameter for setPointPositions()
Simulation During Zoom : New enableSimulationDuringZoom
option to continue simulation while zooming
Right-Click Repulsion : Added enableRightClickRepulsion
for interactive force manipulation
Link Width Scaling : New scaleLinksOnZoom
configuration option
Point Greying : Added pointGreyoutColor
for dynamic point dimming
Custom Attribution : HTML-based attribution system with attribution
config option
Enhanced Error Handling : WebGL initialization error handling with custom styling
Enhanced Storybook examples, README and API documentation
🔧 Changed
Configuration Renaming :
disableSimulation
→ enableSimulation
disableZoom
→ enableZoom
disableRescalePositions
→ rescalePositions
useQuadtree
→ useClassicQuadtree
showAttribution
→ attribution
Default Values : scalePointsOnZoom
default changed to false
CSS Variables : Updated to --cosmosgl-attribution-color
and added --cosmosgl-error-message-color
Project Rebranding : Renamed to cosmos.gl (@cosmos.gl/graph)
Enhanced Destroy Method
🐛 Fixed
Point tracking behavior on position updates
Graph initialization for screen and space size
Cluster position array length calculation
Framebuffer initialization stability
🗑️ Removed
setFocusedPointByIndex
method (use focusedPointIndex
config instead)
📦 Dependencies
Updated Vite, ESBuild, Storybook, and other development dependencies
Updated Store2 to 2.14.4
⚠️ Breaking Changes
Configuration property names changed (see Changed section)
setFocusedPointByIndex
method removed
CSS variable names updated
You can’t perform that action at this time.