- #1517 - Fixing calling
setGraphwith highlighted nodes (thanks to @AeternusSamurai) - Fixing an issue, with sigma not properly cleaning WebGL contexts in its
kill()method (commit)
- #1500 - Fixing lag on stop dragging (thanks @ouzhou for the report and the research)
- 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.imagerenderer as a new package@sigma/node-image - Moves
labelRenderer,hoverRendererandedgeLabelRendererfrom settings to each renderer
- #1386 Improves
Sigma.killmethod - #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.setCameramethod - #1185 Adds new
zoomToSizeRatioFunctionanditemSizesReferencesetting - #1231 Adds new
@sigma/edge-curverenderer, as a new package - Adds new
@sigma/node-borderrenderer, 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
hoverNodeProgramClassessetting so that it is possible to have different programs rendering nodes and their hover - #1273 - Adding the
Sigma.setGraphmethod 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.imageprogram (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.fastprogram not respectinghidden - Fixing
edge.fastvert shader not unpacking color correctly - #1251 - Fixing alpha value parsing of hex colors (thanks to @kaij)
- #1239 - Adds
getContainermethod to public API (thanks to @stefanprobst)
- #1230 - Updates broken link to graphology in README.md (thanks to @alexduhem)
- #1236 - Fixes
#.preventSigmaDefaultscoping - #1237 - Updates
pixelRatioon 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
multiplyVecinternal function - #1196 - Adds new
allowInvalidContainerto 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
beforeRenderandresizeevents - #1227 - Implements
#preventSigmaDefaultfor 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.tsprogram - #1223 - Fixes dynamic constant color in various fragment shaders
- #1226 - Fixes broken
node.tsprogram
- #1161 - Adds
minZoomandmaxZoomsettings - #1166 - Adds HTML colors support
- #1167 - Adds events TypeScript types
- #1176 - Cleans and improves event payloads
- #1177 - Allows overriding arguments with
#graphToViewportand#viewportToGraph - #1182 - Adds cached data (from custom reducers) to custom renderers
- #1187 - Adds
forceLabelfor nodes and edges - #1188 - Drops
graphology-metricsdependency
- undocumented - Updates dependencies
- undocumented - Fixes various bugs with the
node.imageprogram - undocumented - Fixes the
build/sigma.jsandbuild/sigma.min.jsexpositions 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-exportexample
- 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
mousemoveunexpected behaviors - #1163 - Implements edge labels ellipsis
- Complete rewrite of the library.