- Completely rewrites programs API
- Renames all existing programs
- Restructures sources as a multi-package repository (using Lerna)
- Replaces the default node program by
NodeCircleProgram
- Moves the
node.image
renderer as a new package@sigma/node-image
- Moves
labelRenderer
,hoverRenderer
andedgeLabelRenderer
from settings to each renderer
- #1386 Improves
Sigma.kill
method - #1382 Handles click/hover nodes and edges with picking rather than with custom computations
- #1372 Improves render/refresh lifecycle and APIs
- #1322 Implements WebGL instancing in programs
- #1346 Adds documentation in the website
- #1034 Adds new
Sigma.setCamera
method - #1185 Adds new
zoomToSizeRatioFunction
anditemSizesReference
setting - #1231 Adds new
@sigma/edge-curve
renderer, as a new package - Adds new
@sigma/node-border
renderer, as a new package
- #1289 - Adding
Camera.updateState
- Program classes given in settings (
nodeProgramClasses
,edgeProgramClasses
) are now merged with default ones for convenience - #1287 - Adding the
hoverNodeProgramClasses
setting so that it is possible to have different programs rendering nodes and their hover - #1273 - Adding the
Sigma.setGraph
method to renderers - Adding renderer generic type to specify graph type (thanks to @lf-)
- #1285 - Fixing label selection when camera is rotated
- #1206, #1257 - Fixing
node.image
program (thanks to @kaij and @boogheta) - #1286 - Fixing right-click erroneously triggering camera drag events
- #1242, #1282 - Fixing multiple issues related to touch captor (thanks to @kaij and @boogheta)
- #1272 - Fixing quadtree-related stack overflows
- Fixing graph event leak on
Sigma.kill
- #1253 - Fixing
edge.fast
program not respectinghidden
- Fixing
edge.fast
vert shader not unpacking color correctly - #1251 - Fixing alpha value parsing of hex colors (thanks to @kaij)
- #1239 - Adds
getContainer
method to public API (thanks to @stefanprobst)
- #1230 - Updates broken link to graphology in README.md (thanks to @alexduhem)
- #1236 - Fixes
#.preventSigmaDefault
scoping - #1237 - Updates
pixelRatio
on resize - #1240 - Fixes click events for touch devices
- #1244 - Stops relying on graphology for types (issue only partially fixed yet)
- #1249 - Fixes hovered nodes layer not being cleared
- undocumented - Publishes examples to the website
- #1142 - Improves TypeScript typings for events
- #1170 - Simplifies and optimizes
multiplyVec
internal function - #1196 - Adds new
allowInvalidContainer
to prevent sigma.js from throwing errors when it does not find valid width and/or height - #1205 - Adds a new example showcasing sigma's scalability and performances
- #1215 - (ticket still opened) Improves
animateNodes
- #1224 - Adds new internal function
floatArrayColor
- #1225 - Adds new
beforeRender
andresize
events - #1227 - Implements
#preventSigmaDefault
for mouse move events
- #1214 - Cleans graph lifecycle events handling
- #1216 - Fixes CodeSandbox configuration for multiple examples (and the template)
- #1219 - Fixes hidden / excess renderings from
node.ts
program - #1223 - Fixes dynamic constant color in various fragment shaders
- #1226 - Fixes broken
node.ts
program
- #1161 - Adds
minZoom
andmaxZoom
settings - #1166 - Adds HTML colors support
- #1167 - Adds events TypeScript types
- #1176 - Cleans and improves event payloads
- #1177 - Allows overriding arguments with
#graphToViewport
and#viewportToGraph
- #1182 - Adds cached data (from custom reducers) to custom renderers
- #1187 - Adds
forceLabel
for nodes and edges - #1188 - Drops
graphology-metrics
dependency
- undocumented - Updates dependencies
- undocumented - Fixes various bugs with the
node.image
program - undocumented - Fixes the
build/sigma.js
andbuild/sigma.min.js
expositions of sigma - #1172 - Fixes labels grid display (changes which node labels are displayed by default)
- #1192 - Fixes alpha blending for most recent WebGL layers
- #1193 - Fixes dragging with mouse out of stage
- #1194 - Fixes camera transitions to
angle: 0
- #1195 - Improves edge events handling (thanks to @avenzi)
- #1199 - Fixes issue with hidden nodes and labels rendering (thanks to @avenzi)
- #1200 - Fixes issue with node labels
""
- #1203 - Fixes examples build process
- #1178 - Fixes uncaught error in Firefox when using node.image with images with no size
- #1180 - Fixes edge events not being fired when edge size not set in the graph
- #1183 - Moves edge labels layer behind nodes layer
- #1186 - Fixes hovered nodes when mouse not hover sigma container
- #1168 - Fixes hover and click events when mouse is hovering a hidden node
- #1169 - Fixes x / y values in sigma events when mouse is not hovering the sigma container
- #1173 - Fixes issue where unused program no longer deallocate back to zero
- #1175 - Fixes zoom scrolling in a scrolled webpage
- #1165 - Fixes "ghost hovered nodes" issue
- undocumented - Adds edge events
- undocumented - Cleans and fixes all nodes and edges programs
- #1153 - Adds double-click and wheel events for nodes and edges, with a new
#preventSigmaDefault()
method - #1149 - Graphology (and related libs) update to 0.22.1
- #1102 - Allows custom node and edge label colors
- #1150 - Adds public methods to enable implementing a proper PNG export, adds related
png-export
example
- undocumented - Edges thickness rendering is now pixel perfect at camera ratio 1, and no more twice bigger on Retina displays
- undocumented - Cleans some browser warnings
- #1157 - Fixes unexpected node interaction with zIndex
- #1148 - Fixes
mousemove
unexpected behaviors - #1163 - Implements edge labels ellipsis
- Complete rewrite of the library.