Changelog
2.0.0
- general: Update “@cosmos.gl/graph” to “2.6.2” 1e19cf7
- DEPRECATED:
pointSize->pointDefaultSize.pointSizeis now deprecated and will be removed inthe next versions. - DEPRECATED:
linkWidth->linkDefaultWidth.linkWidthis now deprecated and will be removed inthe next versions. - DEPRECATED:
linkArrows->linkDefaultArrows.linkArrowsis now deprecated and will be removed inthe next versions.
- DEPRECATED:
- cosmograph: Fix
LinkWidthStrategy.Directa7bb8b2 - ui >
TypeColorLegend: UseminWidthinstead ofwidthduring calculation of optimal width 751194b - cosmograph: Updated
CosmographDataValidatorto validate core links and points column types 00bf5ad - general: Update “@cosmos.gl/graph” to “2.6.2-rc.0” dfe9d19
- Updated simulation methods logic
- Added new
stop()method
- cosmograph: Introduce link color and width strategies, update existing strategies, enhance legend configurations 22e3504
CosmographConfig: AddedlinkColorStrategywithlinkColorPaletteandlinkWidthStrategyto manage link color and width based on data.CosmographConfig: NewunknownColorprop that will be used for points and links color with active strategies when their data is unknown and current coloring strategy can’t resolve itPointColorStrategyandPointSizeStrategy: NewpreciseDegreestrategy without quantile-based boundaries.- All strategies props now support new
singlestrategy to set color or size to all points or links with a uniform value. - Reinforced logic of adding and removing points and links with add/remove methods to fully control positioning of points and links during data updates
- Updated
CosmographRangeColorLegendandCosmographTypeColorLegendandCosmographSizeLegendto support new link strategies. CosmographSizeLegend: Fixed the issue where the current legend selection was not reset after legend extent was updated.- [BREAKING]: Legends configuration: Rename
label→labelResolver - Improved utility functions for quantile calculations and extent handling in legends.
- Updated TypeDoc links
- ui > Legends: Enhance legend configurations, styles and display state management 88cfb67
- Add
hiddenproperty toRangeColorLegendConfigInterface,TypeColorLegendConfigInterface, andSizeLegendConfigInterfaceto control visibility. - Added
labelproperty toTypeColorLegendConfigInterface - Updated
labelproperty in all legends to support only string (no need for accessor inui) - Update legend display logic to hide completely when with no data and
noDataMessage === false && loadingMessage === false - Ensure parent container has
position: relativefor absolute positioning inDisplayStateManager. - Center display state elements using CSS transformations.
- Add
- general: Change tsconfig.json target to “esnext” (for bigint literals support) 2e786c9
- general: Update “@cosmos.gl/graph” to “2.6.1” 9aef3ec
- BREAKING:
linkColor->linkDefaultColor.linkColoris now deprecated and will be removed in the next versions.
- BREAKING:
- cosmograph >
CosmographRangeColorLegend+CosmographSizeLegend: Handle select points by connections count 4b6d75f - cosmograph >
CosmographButtonPlayPause: Fix play/pause functionality that failed on the first attempt in some cases 5e473c0 - cosmograph >
preservePointPositionsOnDataUpdate: Fix functionality during data item addition/removal 8a81de8- Fix keeping current simulation state (running/paused) during data item addition/removal
- cosmograph >
CosmographRangeColorLegend+CosmographSizeLegend: Fix active selections reset when fetching new data 10c8e7e - general: Update “@cosmos.gl/graph” to “2.6.0” 20a91a4
- BREAKING:
restart()->unpause().restart()is now deprecated and will be removed inthe next versions. - BREAKING:
onSimulationRestart->onSimulationUnpause.onSimulationRestartis now deprecated and will be removed inthe next versions. - BREAKING:
pointColor->pointDefaultColor.pointColoris now deprecated and will be removed inthe next versions. - New mouse callbacks for links from “@cosmos.gl/[email protected]”:
onLinkClick,onLinkMouseOver,onLinkMouseOut - New props for links from “@cosmos.gl/[email protected]”:
hoveredLinkColor,hoveredLinkWidthIncrease,hoveredLinkCursor - New
setPinnedPoints()method from “@cosmos.gl/[email protected]”
- BREAKING:
- cosmograph: Ignore quantiles for
lnkDirectionpoint color strategy during domain calculation 7f815bc - cosmograph: Reverse palette colors for
categoricalpoint color strategy d5b2824 - cosmograph: Update point color strategies and add unknown color handling c5de464
- BREAKING: Changed names of point color strategies from
'Palette'and'InterpolatePalette'to'Categorical'and'Continuous'. - New
pointUnknownColorprop for default color for points that cannot be colored by the active strategy (nullish/unparseable values) - Updated color handling functions to incorporate unknown color ([null, undefined, ‘null’, ”, ‘undefined’, ‘nan’]) logic across various scales and strategies.
- Fixed
'Categorical'(ex'Palette') and'LinkDirection'scales domain calculation
- BREAKING: Changed names of point color strategies from
- cosmograph >
Search: Enhance null handling in search functionality 40a1916- Modified query building to handle null searches appropriately.
- Refactored multifield search logic to accommodate null value conditions.
- Improved suggestion rendering to display null values when searching for them.
- cosmograph >
_updateSummary: Fix potential undefined reference to the db coordinator 0d72236 - react >
Cosmograph: Fix running extra update after destroy 4f545ea - cosmograph: Update mosaic packages to 0.21.1 cd452e6
- cosmograph: New
getPointDegrees()method 920324a- Added method that gets the in-degree and out-degree (link counts) for the point with the given index.
- cosmograph: Auto-add missing points based on links source/target data 7119f77
- cosmograph: Correct spelling of ‘indices’ in method names and documentation 7deb80f
- [BREAKING]:
unselectPointsByIndicies()->unselectPointsByIndices()
- [BREAKING]:
- cosmograph: Integrate Mosaic vgplot components d623108
- Added support for Mosaic vgplot components within Cosmograph, allowing users to add and manage custom visualizations.
- Introduced
MosaicVgplotComponentandMosaicVgplotComponentManagerfor lifecycle management of vgplot components. - Updated
Cosmographclass to include methods for adding and removing Mosaic components, enhancing integration with the crossfilter system. - Added ‘@uwdata/vgplot’ ‘vg’ re-export to the Cosmograph and Cosmograph React libraries, so it can be used without the need to install ‘@uwdata/vgplot’ on the client side.
- Fixed destruction processes that caused to memory leaks.
- Fixed querying unexisting columns during point/link properties update that could cause errors.
- cosmograph: Fixed
pointClusterStrengthByprop fd70e64
2.0.0-beta.28
- cosmograph: New coloring strategy ‘linkDirection’ 550347f
- Added a new point color strategy,
LinkDirection, to color points based on their link direction - Updated
CosmographTypeColorLegendto sync with the new strategy - Introduced
pointDirectionsin the Cosmograph class to return the direction of points based on their in-degree and out-degree
- Added a new point color strategy,
- cosmograph: Add
resetSelectionOnEmptyCanvasClickoption for the config 49b837a- Introduced
resetSelectionOnEmptyCanvasClickproperty in the BasicConfig interface to allow resetting selection when the canvas is clicked without any selected points. - Updated default configuration to enable this feature by default.
- Introduced
- cosmograph >
Search: Updated selection handling 590ce8f- Updated
compareSelectedItemmethod to allow clearing selection when no item is provided. - Added
onClearcallback to handle selection reset and filter state management when clearing the search.
- Updated
- cosmograph + ui >
Bars: Added crossfiltering support 23d072a- Updated rendering logic to support highlighted bars and adjusted CSS for new highlighted elements.
- Added
highlightSelectedDataoption to theCosmographBarsConfigInterfacefor performance-sensitive highlighting of selected data. - Implemented
setHighlightedDatamethod in theBarsclass to manage highlighted data for crossfiltering visualization. Barscrossfiltering behaviour is now inclusive (was exclusive)
- cosmograph: Updated crossfiltering logic 8010948
- Updated “@uwdata/mosaic” to “0.20.1”
- New
getActiveSelectionSourceId()public method to track active selection source component - Added
pointsSelectionandlinksSelectiongetter to track selection state - Changed crossfiltering logic of mouse selections (clicks, rect, lasso) to inclusive that results in mouse selections now work on top of the component filters (intersection)
- Mouse selections now only reset mouse selection filter, leaves other component filters untouched
- cosmograph: Getter for selected link indicies 52b2cc1
- Added
getSelectedLinkIndicesmethod to retrieve indices of links connected to selected points. - Updated
getSelectedPointIndicesmethod to returnundefinedinstead ofnull. - Modified callback interfaces to include selected point and link indices for improved filtering functionality in
onPointsFilteredandonLinksFilteredmethods.
- Added
- cosmograph: Add
CosmographButtoncomponent for custom buttons 5fb63b4- Introduced a new
CosmographButtonclass for enhanced button functionality within the Cosmograph framework. - Minor style adjustments in search component CSS for improved layout consistency.
- Introduced a new
- cosmograph > Labels: Tweak cluster labels priority over point labels 833f17d
- Added logic to hide regular point labels when cluster labels are enabled and no active filtering is present, improving clarity in label display.
- cosmograph > Search: Improve “Select all results” to select exact all found results by indexes without any limitations e1a26b5
- cosmograph > Search: Select all results button and found results count 13a9374
- Expanded
CosmographSearchConfigInterfaceto includeshowFooterandonSelectedproperties for improved user interaction. - Implemented a footer component with a “Select all results” button and results counter for better visibility of search results.
onSelected()callback instead ofonSelect()to support multiple results handling
- Expanded
- ui > Search: Enhance search component with custom footer support e76bdee
- Added
footerComponentoption toSearchConfigInterfacefor rendering custom components below the suggestion list. - Introduced a new dropdown container to hold both suggestions and footer, improving layout and functionality.
- Updated styles for dropdown and footer components to ensure proper visibility and interaction.
- Implemented loading state display during search input, enhancing user experience.
- Added
- cosmograph > Search:
suggestionTruncationLengthprop to cut long strings in the suggestions list b5a9835 - cosmograph > Search: Search through all fields with the new
multifieldSearchprop 95498ee - cosmograph: Enhance selection handling in Cosmograph components 34712a0
- Added
preserveSelectionOnUnmountoption to components to control selection state during unmounting. - Implemented
idconfiguration prop for filtering components/clients to maintain stable connections across component remounts. - Updated selection reset logic to prevent unnecessary resets during initial loads and when switching components.
- Refactored
FilteringClientto manage client instances more effectively, allowing for reuse of existing clients based on the providedid.
- Added
- cosmograph > Search: Add no results message support to search module ec05398
- Introduced
noResultsTextconfiguration option to display a custom message when no search results are found.
- Introduced
2.0.0-beta.27
- cosmograph: Remove redundant
simulationClusterStrengthproperty a45e08c - cosmograph: Fixed
focusPointOnLabelClick=falsebehaviour ac4688b - cosmograph: Fixed
selectPointOnLabelClick='singlebehaviour when combined withselectPointOnClick2f24af7 - cosmograph > Labels: Remove redundant
showFocusedPointLabelproperty 54381e7 - cosmograph > Labels: Fixed
clusterLabelFontSizeimpact whenscaleClusterLabelsistruec80da12 - cosmograph > Labels: Fix invisibility of cluster labels when
clusterLabelFontSizeset toundefinedde99484 - cosmograph > Labels: Brighter text shadow for cluster labels ae6e4f5
- cosmograph: Set default
pointGreyoutOpacityvalue 20d1fe0 - general: Update “@cosmos.gl/graph” to “2.4.0” f82a0cc
- Added shapes support and reexported new methods:
setPointShapes(),setPointImageIndices(),setPointImageSizes(),setImageData() - New type
CosmographPointShapefor shape methods (reexported from “@cosmos.gl/graph”)
- Added shapes support and reexported new methods:
2.0.0-beta.26
- cosmograph > Labels: Fix
pointLabelFnandpointLabelWeightFnfunctions 23fef81 - cosmograph: Update simulation events handling 3555544
- ui >
Search: AddonClearcallback 9017db9 - cosmograph > Data Kit: New return props
linksProcessedFully&pointsProcessedFullyto signal partial loads when memory-limited 51a6203 - cosmograph: Improve quantile handling in color and size legends f03d164
- Fallback to extent when min/max are equal, ensuring valid domain for scales.
- ui >
TypeColorLegend: Optimize auto width calculation 0951e5d - cosmograph >
CosmographConfigManager: TrackscaleLinksOnZoom/scalePointsOnZoomchanges in_handleScaleChangeEvents8d5270a - cosmograph > Data Kit: Improve
insertLinks()to avoid duplicate column errors da3e551 - ui >
RangeColorLegend: Handle equal min/max values 76d2633 - cosmograph >
createEqualBreakpointsScale: Replace min/max with extent for domain calculation 7ca2985
2.0.0-beta.25
- ui >
SizeLegend: Improve precision handling for small values d8d74cd - cosmograph >
CosmographBars: Fix handling null values 027315b - ui >
Bars: Add line-height to buttons container 95d6ad4 - ui >
RangeColorLegend: Optimize discrete colors gradient generation 7e5df3a - cosmograph >
CosmographSelectionComponent: Include accessor check infetchData()644556b - cosmograph > Data Kit: Remove table drop in
processDatafunction 89abf7c - general: Update
@duckdb/duckdb-wasmto version1.29.1-dev260.0ede2f05 - cosmograph > Data Kit: Enhance
processDatato return summary and refactor data processing logic acde1ca - general: Update dependencies and use Mosaic types f6e90e1
- Updated
@duckdb/duckdb-wasmto version1.29.1-dev132.0. - Upgraded
@uwdata/mosaic-coreand@uwdata/mosaic-sqlto version0.18.0. - Now using Mosaic Typescript types instead of manually declared, updated Cosmograph codebase.
- Changed TypeScript
moduleResolutionfromnodetobundler. - Removed
throttle-debouncedependency and related type definitions.
- Updated
- cosmograph > Data Kit: Update
insertPointsto handle existing columns correctly e7a7cb0 - cosmograph > Data Kit: Refactor
insertPointsto improve column handling and add chunk processing for large datasets 0e3ba9f - cosmograph >
CosmographConfigManager: Query only columns involved in rendering during visual properties update 7736ee0 - cosmograph > Data Kit: Use chunking during loading large files to avoid malloc errors 755a2ed
- ui >
TypeColorLegend: Add optimal width calculation 18ff025 - cosmograph >
Labels: Tweak labels font-weight ad405e7 - cosmograph: Enhance component readiness handling 2c0ff75
- Updated various components (Bars, Histogram, Legends, Search, Timeline) to check readiness before executing methods, ensuring they only operate when fully initialized.
- ui >
Timeline: Streamline animation button visibility handling bcc772c - cosmograph >
Labels: Fix dragging for hovered point label 8c55ee0 - ui >
Bars: Fix cutted bar label when width of bar is short f204c72
2.0.0-beta.24
- cosmograph: Replaced
isomorphic-dompurifywithdompurifyeeca90e - cosmograph: Add new methods from “@cosmos.gl/[email protected]” 799f6f6
- Added visual property getters:
getPointColors(),getPointSizes(),getLinkColors(),getLinkWidths() - Added new position tracking and sampling methods:
trackPointPositionsByIndices(),getTrackedPointPositionsArray(),getTrackedPointPositionsMap(),getSampledPoints()
- Added visual property getters:
- general: Update “@cosmos.gl/graph” to “2.3.0-beta.1” 97cc15a
- cosmograph: Add descriptions to button configurations for improved accessibility 172b96a
- cosmograph: Fix
applyExactFilterfor null values 46c7ee1 - cosmograph > Search: Select results from suggestion list by pressing enter 41a45da
- cosmograph: Clickable cluster labels 5925052
- Introduced
selectClusterOnLabelClickto control point selection on cluster label clicks. - Added
onClusterLabelClickcallback for handling cluster label click events. Closes #408
- Introduced
- cosmograph: Enhance cluster label handling and styling ca73027
- cosmograph: Update
CosmographButtonPolygonalSelectionicon 2fb5ec3 - cosmograph: Fix missing escaping for column names in some queries 16f91ec
- ui >
Bars: fix label text overflow d5ad437 - general: Update “@cosmos.gl/graph” to “2.3.0-beta.0” 4291ed5
- cosmograph: Tweak label sizes and styles 36b0d35
- cosmograph: Fix search suggestions height 8b4ed7f
- cosmograph: Improve Labels performance during dragging and simulation 8f39781
- New Cosmograph methods:
getPointScreenRadiusByIndex()andgetPointPositionByIndex() - Fix radius calculation in labels/popup
- New Cosmograph methods:
- cosmograph: Fix label positions during dragging 9da3ed4
- cosmograph + react:
CosmographPopupcomponent bc7b473 - cosmograph: Update
CosmographButtonPolygonalSelectionicon 55a1596 - cosmograph + react:
CosmographButtonPolygonalSelectioncomponent 7350dea - cosmograph: Fixed retriggering simulation if simulation is stopped 5d422f0 Closes #428
- cosmograph + react: BREAKING: Rename
CosmographButtonSelectArea->CosmographButtonRectangularSelection6dbdb79 - cosmograph:
disableLoggingprop for controlling console output e71dbee- Queries are now visible only in DEBUG mode
- cosmograph: Hide spinner while waiting for data db1fb2d
- cosmograph: Align area selection methods with “@cosmos.gl/[email protected]” 88c7331
- general: Update “@cosmos.gl/graph” to “2.2.1” bda5062
- cosmograph: Lock “apache-arrow” version to “17.0.0” a7da054
- cosmograph: Added polygonal selection features e07215c
- BREAKING: Rename
onAreaSelected->onRectSelected - New methods for polygonal selection:
activatePolygonalSelection(),deactivatePolygonalSelection(),selectPointsInPolygon()and props for the Cosmograph config:polygonalSelectorStrokeColor,polygonalSelectorLineWidth - New method
unselectPointsByIndicies()for unselection of multiple points at once
- BREAKING: Rename
- general: Update “@cosmos.gl/graph” to “2.2.0” 27926fe
- cosmograph: Update access modifiers for components fa30e22
2.0.0-beta.23
- cosmograph >
CosmographSizeLegend: Synced link width legend withscaleLinksOnZoom1e39435 - cosmograph: Fixed labels destroying during graph reinitialization 60df9ca
- general: Update “@cosmos.gl/graph” to “2.1.0” 62159b2
- cosmograph: Better validation errors handling a21af00
- cosmograph: Add
onConfigUpdatedcallback 92c9686 - cosmograph: Fix
showLabelsForprop’s dependency onshowTopLabels7457b6f - ui:
Histogram+Timeline: Fix hanging axis/bars when accessor switched and incorrect data acquired e70d6d3
2.0.0-beta.22
- cosmograph: Remove access to
attributioncosmos prop 251d1d0 - general: | Update from “@cosmograph/cosmos” to “@cosmos.gl/graph” ff32480
- cosmograph: New
statusIndicatorModeprop for loading status customization d1213cd - cosmograph >
CosmographSearch: Minor bug fixes 67eb717- Provided default ‘id’ accessor into the default config
- Fixed unability to expand accessors menu
- cosmograph: Updated single point selection behavior cec285b
CosmographExclusiveSelectionComponentnow resets clicked point selection- Updated
setFocusedPointmethod to use only cosmos’sfocusedPointIndexprop
- ui: Minor fixes b9e98a0
- Fixed disabled pointer events in
Barscomponent whenDisplayStateis visible - Fixed scrollbar style for
Search
- Fixed disabled pointer events in
- cosmograph + ui: Legends tweaks 87f746b
SizeLegend: ShowNo datastate if extent or labels are not valid numbersRangeColorLegend: Minor style tweaksDisplayStateManager: Add pointer-events: none to parent when state is visible- Cosmograph legends: Add
hiddenprop that controls legend visibility CosmographRangeColorLegend: SynceduseQuantileswhenactivePointColorStrategyispalette
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.26” 2516b7c
2.0.0-beta.21
- cosmograph:
usePointColorStrategyForClusterLabelsprop d3a6a26- Fix incorrect ?? operator usage in
Labelsthat caused wrong label coloring in some cases and in andCosmographRangeColorLegend - Update
_addCustomLabelsToDataMap()method
- Fix incorrect ?? operator usage in
- ui: Update default numeric formatter 6eadbe1
- cosmograph: Fix summarize query for tables named with custom schema 2a4420e
- cosmograph:
isSimulationAvailablegetter b9bd6bb - cosmograph: Update defaults for the simulation forces f461e33
- cosmograph:
CosmographDataManagerclass and methods for removing/adding data in current graph 837136f- Renamed Cosmos props to sync with 2.0.0-beta.25 changes https://github.com/cosmosgl/cosmos/pull/141
- Fixed initialization and destruction processes for
CosmographSelectionComponentthat could lead to multiple instances rendering in one container - New
CosmographDataManagerclass that contains all logic for uploading and modifying data (previously partially located inCosmographConfigManager) - New methods:
addPoints(),addLinks()that accept object arrays and auto-index them while preserving existing indices and populating missing fields with defaults - Restored
removePointsByIndices(),removeLinksByPointIdPairs(),removeLinksByPointIndicesPairs()methods; addedremovePointsByIds()method - Labels: Fixed issue with redundant querying for top labels by degree
- cosmograph + ui: Update destroy methods for components 899c0e9
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.25” 2a5d393
- cosmograph > Labels: Scalable cluster labels padding when
scaleClusterLabelsistruefad689e - cosmograph: Update “@interacta/css-labels” to “0.1.3-beta.1” f78b6dc
- cosmograph >
CosmographEventManager: FixselectPointOnLabelClickclick handling logic 002ca19- Clicking empty canvas now will always reset active selection even if
selectPointOnLabelClickorselectPointOnClickis nottrue
- Clicking empty canvas now will always reset active selection even if
- cosmograph: Add
getPointsData()andgetLinksData()methods to retrieve all points and links data 01580be - cosmograph >
CosmographConfig: Implement point position preservation on data updates 5f67e53- New
preservePointPositionsOnDataUpdateprop for config that will preserve positions for points with same ids during data update
- New
- cosmograph >
CosmographConfigManager: Fix point cluster props handling logic bdd1b72- Update clusters buffer even if only
pointClusterByFnchanged - Fixed type of cluster column data
- Fixed
undefinedcluster value handling
- Update clusters buffer even if only
- cosmograph >
CosmographTypeColorLegend: AddresetSelectionOnCollapseprop fa4c5fe - ui >
TypeColorLegend: AddonShowMoreClick()callback andisExpandedgetter f274fd3 - cosmograph >
Labels: Fix cluster labels visibility when nopointLabelByce0fa0f - ui + cosmograph: Fix
componentsDisplayStateModeprop value consistency at initialize 80109b2- BREAKING: Renamed
noDataText→noDataMessage,disableText→disableStateMessagesandloadingText→loadingMessageacross various components for clarity
- BREAKING: Renamed
- cosmograph >
Labels: Fix consistency withshowTopLabelsandshowDynamicLabelsin_populateLabelDataMap()01c5294- Added text-shadow styling to labels for improved cluster labels visibility
- general: Update typedoc and fix links in the doc d728a75
2.0.0-beta.20
- cosmograph >
Labels: Fixed_normalizeWeight()performance bottleneck 7c17391 - ui + cosmograph >
Search: Minor fixes ca27da0 - ui: Minor style changes 223e05d
- cosmograph + ui: Enhance Search components eae078c
CosmographSearch: AddedshowAccessorsMenuprop to control accessors selection menu visibility.CosmographSearch: IntroducedsuggestionFieldsprop to support displaying multiple fields in suggestions.CosmographSearch: AddedsuggestionFieldsPaletteprop for custom suggestion field colors.CosmographSearch: Implemented aremove()method for component destruction and cleanup.ui > Search: Added adisabledprop to enable/disable the component.ui > Search: AddedopenListUpwardsprop to control the suggestion list’s opening direction.ui > Search: AddedhighlightMatchprop to control matching text highlighting.ui > Search: ExposedgetHighlightedMatchpublic method for manual text highlighting.ui > Search: Exposedfocus()andblur()public methods for programmatic input focus control.
- cosmograph: Clusters updates 4ddf8cc
- BREAKING: Rename
clusterPositions→clusterPositionsMapand change type from[string, string | [number, number, number, number]][]toRecord<string, string | [number, number, number, number]>.clusterPositionsMapnow accepts an object with positions where keys should be values from thepointClusterBycolumn. - BREAKING:
pointColorByMap: Change type from[string, string | [number, number, number, number]][]toRecord<string, string | [number, number, number, number]> - Added
pointClusterByFnfor functional cluster assignments based on values in the {@link pointClusterBy} column. - Added
scaleClusterLabelsprop to enable scaling of clusters by their item coun - Added
clusterLabelClassNameprop for controlling cluster label style - Updated labels background color
- Optimized some queries by replacing
convertArrowToObjectto nativetoArray()
- BREAKING: Rename
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.24” 3bfb764
- cosmograph: Cluster labels 42497b7
- Implemented new layer of labels for clusters
- New props for cluster labels:
showClusterLabelsandclusterLabelFontSize
- cosmograph + ui:
HistogramBarDataandTimelineBarDatatypes 8ca1227 - cosmograph: New
componentsDisplayStateModeconfig prop to control visibility of component state messages c77a73c - ui: Unify components state messages 3fd76a4
- New
DisplayStateManagerclass that UI components can extend to manage component state messages - Removed old state message logic in components in favor of
DisplayStateManager - UI Components have now
noDataText,loadingText,disableTextprops that customize message text and behavior
- New
- ui >
Bars: Fix elements visibility in different cases f9468ed - ui + cosmograph: Add
onAnimationTickcallback to Timeline component e021ebb - comsograph: Use updated object-based config for components from ui with flatten events 8151221
- ui: Remove
Configclass, use object-based config ec0bd20- BREAKING: Flatten events in the components config, each event is now directly in the
configrather than inconfig.events - Enhanced JSDoc for interfaces of all components
- BREAKING: Flatten events in the components config, each event is now directly in the
- cosmograph >
Labels: Improved rendering performance 427e19a- BREAKING: Removed
showTopLabelsByin favor ofpointLabelWeightByas it duplicated functionality - Optimize labels querying during zoom and drag
- If no
pointLabelWeightByspecified, labels will try to usepointSizeByfor weight, otherwise weight by degree - Max labels amount now limited to
showTopLabelsLimitstatic labels +showTopLabelsLimitdynamic labels - Normalize label weight using min/max from weight column data or degree data
- BREAKING: Removed
- react: Implement
createCosmographReactComponent()to simplify components creation 537748b- Add
CosmographSearchreact component
- Add
- cosmograph >
CosmographSearch: Basic component implementation 917825e - ui >
Search: Update module with new configuration class and styling enhancements 6499050- Added methods for setting configuration and clearing input
- Added module into lib exports
- cosmograph >
zoomToPoint(): Add default zoom duration when not explicitly provided in args f98ec8e - cosmograph: Higher priority for
PointsSelectionClientselections d32d818- Changed point selection behavior for clicks and rectangular selections: if another selection was already active, the new selection by
PointsSelectionClientwill now clear all previous selections (even if empty).
- Changed point selection behavior for clicks and rectangular selections: if another selection was already active, the new selection by
- ui: Fix building styles via vite a544a81
- ui: Fix composite build a25d703
- cosmograph > Data Kit: Improved error handling 03679f8
- cosmograph > Data Kit: Remove cluster indexing logic in queries 634e2b4
- cosmograph: Parse string columns in
pointClusterBy984f06c- New
clusterIndexMappinggetter inCosmographthat provides mapping of cluster values to their auto-generated indices.
- New
- ui: Update Button stories for Storybook 8941ecf
- cosmograph: Update
CosmographPointColorStrategyandCosmographPointSizeStrategytypes 9152d9e
2.0.0-beta.19
- cosmograph >
FilteringClient: Fix querying null values and nested data column paths f0cc761 - general: Update “@uwdata/mosaic” to “0.15.0” 33ca2da
- cosmograph: Refine filtering components logic 360ea0c
- Refactored selection logic to ensure correct behavior with inclusive and exclusive selection types
- Implemented
PointsSelectionClientto manage point selections, replacing the previousFilteringClientusage inCosmograph - Fixed date type handling in
CosmographTimelinebrush selection - BREAKING:
CosmographHistogram+CosmographTimeline: RenamehighlightCrossfiltered→highlightSelectedDatafor clarity
- cosmograph >
EventManager: Unify clicking logic for labels and points fdd8645- Point and label clicks now also trigger
setFocusedPoint()ifselectPointOnClickistrueandfocusPointOnClickisundefined. Otherwise, iffocusPointOnClickis specified, will follow its value behavior.
- Point and label clicks now also trigger
- ui >
Timeline+Histogram: Fixed bars animation when highlighted data is empty 73928df - cosmograph: Rectangular selection with modifier keys dc849b1
- BREAKING:
focusPoint()→setFocusedPoint(). Removed duplicating method for point focusing - Updated
selectPointsInRect()andselectPoints()methods to support adding points to existing selection - New
unselectPointsInRect()method for unselecting points in range - If focused point was unselected, remove focus from this point
- BREAKING:
- cosmograph: Add support for multi-point selection and unselection with modifier keys 05da58a
- Breaking: rename
unselectPoints()→unselectAllPoints() - Implement multi-point selection using Shift key and unselection using Alt key
- Implement
unselectPoint()public method to handle point deselection - Update
selectPoint()method to support adding points to the current selection using the Shift key
- Breaking: rename
- ui: Enhance common data processing logic for
TimelineandHistogramand move it unto utils fb42066 - cosmograph: Remove
nullvalue fordisableSimulationas it’s auto-controlled when unset 3e4458d - cosmograph: Reorganize config files structure 02f78fc
- cosmograph > Crossfiltering: Move
_resetActiveClientSelectionsinto exclusive selection class 8f3736b - cosmograph >
FilteringClient: Use Mosaic built-ins for gte and lte functions 822ecb8 - cosmograph: Crossfiltering refactor 932b2e1
Cosmograph:setConfignow providesPromisethat resolves when the configuration fully is updated and Cosmos is renderedCosmograph: Newsummarygetter in the internal api that gets summary after data updated and does not waits for the first cosmos renderCosmographRangeColorLegend: AddeduseDiscreteColorsfor customizing displaying ofoverrideColorscustom paletteCosmographConfigManager: More granulated conditions for visual updates to prevent extra rendering and unexpected configuration casesLabels: Prevent calling tracking functions in Cosmos when it’s not initialized yet- Updated Mosiaic Selections strategy to resolve empty array when nothing selected
- New abstract classes for exclusive or inclusive selection components that already include unified selection behaviour
- Refactored filtering components to use new abstract classes
- Updated performance of crossfiltering functions
- cosmograph: Updated CSV auto types parsing for local DuckDB instance 7282fbc
- ui > Legends: Updated default formatter for legends 4959ecf
- Fixed fallback container styles for legends
- ui >
Timeline+Histogram: Enhance data processing performance 261c47fTimeline: Fixed SVG rendering errors for/ elements Timeline: Updated default numeric formatter
- ui >
Bars: Update rendering logic and styles d2c8ef6- Added
showSortingBlockandshowSearchfor customizing bars elements displaying - Tweaked row colors
- Added
- cosmograph + react: Update
CosmographPointColorStrategy+CosmographPointSizeStrategytypes 68b52b6 - cosmograph >
PointColorStrategy: Reverse palette values for string'palette'strategy to respect min/max coloring alignment 27804d8 - react: Check if component config differs from previous before updating 2dccb08
- ui >
RangeColorLegend: Update labels max width 24f3beb - cosmograph >
setConfig(): Return Promise to support async chaining 12d76b7 - cosmograph > Labels: Fix labels update if only label props changed bc8c619
- cosmograph: Rename ‘components’ and ‘modules’ 8b5c4f1
- cosmograph > Labels: Do not run extra checkColumnsExist query during update bc0fe3d
- general: Update typedoc and website API docs 452c494
2.0.0-beta.18
- cosmograph > Buttons: Fix
userConfigat initialization afd044e
2.0.0-beta.17
- cosmograph >
CosmographSizeLegend: Fix degree strategy legend 0e88d10 - cosmograph: Fix loading state for legends and filtering components a04e8e6
- cosmograph >
CosmographConfigManager: Improve error handling for point positions validation d791f94 - cosmograph: Public
getConfig()method to get actual config state f6718d7 - cosmograph + react: Export
CosmographPointColorStrategyandCosmographPointSizeStrategytypes 42c2bbb - cosmograph > Data Kit: Update
CosmographDataPrepConfigtype e21ff00 - cosmograph >
CosmographSizeLegend: Fix loading state f687e5a - cosmograph >
CosmographConfigManager: Prevent run links visual update if no links in graph a883a11 - cosmograph: Bars, Timeline, Histogram: Remove default
accessorvalue 921dfe3 - cosmograph > Buttons: Update initialiation flow 28cef92
2.0.0-beta.16
- ui > Timeline: Improve timeline tick formatting and density 4033f92
- Stick ticks to the data bars
- cosmograph: Fix cosmos config update on re-initialization 5fce61d
- cosmograph + react: Fix types for proper TS/IntelliSense support 14a19b6
- cosmograph: Update link and point default colors 4107269
- cosmograph: Update data uploading flow a48b8e3
- general: Update dependencies ec1e513
- Updated
@duckdb/duckdb-wasmto1.29.1-dev68.0 - Updated
@uwdata/mosaic-coreto0.13.0 - Updated
apache-arrowto19.0.1
- Updated
- cosmograph: Post-refactoring adjustments 3225484
- BREAKING: Renamed
onDataUpdatedcallback to onGraphRebuilt` - Updated default value of
showHoveredPointLabeltofalse - Added
onGraphDataUpdatedcallbacks toCosmographConfigfor more granular event handling - Modified event listener attachment/removal in Legends to reduce unnecessary queries
- Replaced internal
dataUpdatedevent withdataUploadedfor clarity and consistency
- BREAKING: Renamed
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.23” 9aaf737
- ui > Timeline: Updated
defaultDateFormatto usedefaultNumFormatwhen formatting numeric dates b491706 - cosmograph: Major structure refactoring b5557fd
Renamed and reorganized modules and files for better structure and maintainability.
- BREAKING: renamed
dataReady->dataUploaded - BREAKING >
PointColorStrategy: ‘actualColor’ renamed to ‘direct’ - New ‘direct’ strategy for
PointSizeStrategythat parses values as is - Temporary removed
addData(),removePointsByIndices(),removeLinksByPointIdPairs(),removeLinksByPointIndicesPairs()methods - Implemented
activePointColorStrategygetter for current point coloring strategy value andgetActivePointColorFnwhich returns current point coloring function - Implemented
activePointSizeStrategygetter for current point sizing strategy value andgetActivePointSizeFnwhich returns current point sizing function getActiveLinkColorFnandgetActiveLinkWidthFnfor current link color/width functions
- BREAKING: renamed
- cosmograph > Labels: Tweaking overlapping and amount of labels 70952e0
- cosmograph: Remove
rescalePointPositionsand related logic 7557454- Updated the
rescaleXFnandrescaleYFngetters inCosmographto use the cosmos’s scale functions.
- Updated the
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.22” 40b14ad
2.0.0-beta.15
- cosmograph: Improve
PlayPausebutton initialization and visibility handling 22f629c- Add ‘cosmosInitialized’ event emission after Cosmos initialization
- Hide
PlayPausebutton when simulation is disabled (e.g., for embeddings)
2.0.0-beta.14
- cosmograph: Prioritize categorical color for points with string columns 7f3d681
- Added a new ‘actualColor’ point color strategy that directly applies color values from the
pointColorBycolumn - Removed redundant
getPointColorStrategyandgetPointSizeStrategyfunctions in favor ofresolveOptimalPointColorStrategyandresolveOptimalPointSizeStrategy
- Added a new ‘actualColor’ point color strategy that directly applies color values from the
2.0.0-beta.13
- cosmograph: Update typedoc 4b912d4
- cosmograph: Methods for getting optimal color/size strategy for current configuration 81b4820
- Added
getOptimalPointColorStrategyandgetOptimalPointSizeStrategymethods to automatically determine the optimal point color and size strategies based on the current configuration
- Added
- cosmograph: Props for controlling selected and focused point 28c8689
- New props that add own logic into
_onClick()/_onLabelClick()Cosmograph methods :selectPointOnClick,selectPointOnLabelClick,focusPointOnClick,focusPointOnLabelClick,showFocusedPointLabel - Added
setFocusedPointByIndexmethod to set focus on a point - Added
focusedPointIndexgetter to get current focused point index - Implemented labels logic for focused point that works independently from dynamic, top, and forced labels
- New props that add own logic into
- cosmograph > Legends: Fix event handlers ebfddc6
CosmographTypeColorLegend: Fix legend orderCosmographTypeColorLegend: Fix resetting active selection when point colors changed
- cosmograph > Labels: Prioritize showing labels for active selection 5cbf051
- cosmograph: Make
showDynamicLabelstrue as defalut 6b8867b- Tweak
pointSamplingDistanceto slightly reduce overall dynamic labels amount
- Tweak
- cosmograph >
CosmographSizeLegend+CosmographRangeColorLegend: Fix legend label update on accessor change f2ffeda - ui > Histogram: Apply default formatter for ticks 4683f81
- ui > TypeColorLegend: Fix fallback div style da13fc0
- ui > Timeline: Recalculate tick amount on resize 5eb32f0
- Update default
barCountvalue from 100 to 250 forTimeline
- Update default
- cosmograph > Data Kit: Update
CosmographDataPrepPointsConfigandCosmographDataPrepLinksConfiginterfaces 90acf4c - cosmograph: Fix async flow for legends when color/size props updated 6f664a9
- cosmograph: Reset
pointSizeRangeandpointColorPaletteto defaults if passedundefinedin config 7fdfa05
2.0.0-beta.12
- cosmograph >
_checkSizesChanged: Add check forpointSizeByFnconfiguration change b7050dd - cosmograph: Update types and comments bc3a7c0
PrepResult->CosmographDataPrepResult
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.21 65dc05d
- cosmograph: Update “@interacta/css-labels” to “0.1.2” 3e4bc65
- cosmograph >
CosmographSizeLegend:_updateLabel()function a22630b - cosmograph >
CosmographRangeColorLegend: Sync withPointColorStrategy1e779d6 - ui >
RangeColorLegend:discreteColorsprop to display colors as segments 8ac5e0b - cosmograph > Data Kit: Use
pointColorandpointSizeas undefined value for strategies b15c403 - cosmograph: Update default point and link color bd1c665
- cosmograph >
CosmographFilteringComponent: Fix_filterByIdx()performance 7475fb6 - ui >
Timeline+Histogram: Selection performance update d16c0d9TimelineandHistogram: Fixed including data into edge bars
- ui >
Timeline+Histogram: Fixed extra bar selection 9c4c4df Closes #372
2.0.0-beta.11
- react + cosmograph: Rename button components into
CosmographButton...7b1445b - ui > Button: Update styles 55bd899
- cosmograph: fitView methods args consistency 03c4486
- ui + cosmograph + react: Add control buttons and event dispatchers b092c50
- Added
Buttoncomponent in the ui lib. - Added control buttons:
CosmographFitViewButton,CosmographPlayPauseButton,CosmographSelectAreaButtonandCosmographZoomInOutButton. - Added event dispatchers to cosmograph lib:
areaSelectedandonSimulationEndevent.
- Added
- cosmograph:
captureScreenshot()method d602bd2 - ui: Non-selectable ui elements for Safari 65e749e Closes #365
- cosmograph:
PointSizeStrategy+CosmographSizeLegendsize strategy sync dbde78f - cosmograph/ui: Major styles update ad4406f
- Fixed loading state for components
- Minor bug fixes
- Unify components typography/styles
- #350
- cosmograph:
escapeValue()for correctly escaping values in SQL queries for points/links 4cba2ff - cosmograph > Labels: Add
pointLabelFontSizeprop, makelabelPaddingprop flat f8a59d4- Update
labelPaddingdefaults
- Update
- cosmograph:
getPointIndicesByNumericValueandgetPointIndicesByLinksNumericValue152d561- Rename
getPointIndicesByColumnValues->getPointIndicesByExactValuesandgetPointIndicesByLinksColumnValues->getPointIndicesByLinksExactValues
- Rename
- ui: Auto-format numeric values in
SizeLegendandRangeColorLegend3f1bd2c
2.0.0-beta.10
- cosmograph >
RangeColorLegend: Sync with coloring strategy a4f135cuseQuantilesprop forRangeColorLegend
- cosmograph: Update accessor types efb8d16
- cosmograph > Data Kit: Fix
getPointColorStrategywhenpointColorprovided 9b7f14e - cosmograph: Auto scale point sizes by link degree if graph has links 43877e6
- cosmograph > Labels: Set
pointer-events: noneif noonLabelClick164c60b – SethoveredPointCursor: 'pointer'ifonLabelClickprovided - cosmograph >
SizeLegend:useQuantileslogic to respect auto-scale d488ffd - ui >
TypeColorLegend: Set minimum width of legend container a0dbbfc - cosmograph: Set
showTopLabels: trueandsetShowDynamicLabels: falseby default 5611672
2.0.0-beta.9
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.20” 9a66efa
- cosmograph > Labels: Tweak colors for custom labels 309f667
- cosmograph >
TypeColorLegend: Order items by column type 14ffd77 - cosmograph > Labels:
pointLabelColorprop + color labels by point color by default 2345a10 - cosmograph > Coloring strategy: Tweak scales for VARCHAR data 411bc85
- cosmograph > Data Kit: Improve
getPointColorStrategyc1abe38 - cosmograph:
_configUpdatePromise/configUpdatedfor awaiting for config update end a4ef895 - cosmograph: Data Kit logic for point coloring scale auto-generation 9f75fc9
- Fixed
pointColorStrategybugs
- Fixed
- cosmograph: Initialize legend components earlier e36e651
- cosmograph:
pointColorStrategy: Auto-scaling logic for colors 027833f- Added
pointColorByMapandpointColorPalettethat can be used withpointColorStrategy - Fixed
AccessorFntype and added extra types for color/size/boolean accessor functions - Added
hideUnknownprop forCosmographTypeColorLegendthat filters out fallback colors from legend #340
- Added
- cosmograph: Use quantiles for auto-scaled size function 4cf053d
- cosmograph: Fix zooming through labels e6d636d
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.19” 16a1500
- Set
disableAttribution: true
- Set
- cosmograph: Sync with “2.0.0-beta.18” cosmos 946d896
- Send instead of
- Rename ‘watermark’ to ‘attribution’
- Set default space size to 8192
- Send
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.18” 6a7f163
- cosmograph: Fix
getConfigmethod of legends 36ede86 - cosmograph + ui: Loading state for legends 901bba8 #341
- cosmograph: Set loading state for filtering components before fetching data 73b6ac4
- cosmograph: Update points rescaling factor calculation 063a1f1
- cosmograph: Points rescaling logic d113825 #344
- cosmograph: Set
showLabels: trueby default 76607ce
2.0.0-beta.8
- cosmograph >
_handlePointPositions(): Strict point positions check if provided 5412226- Fix
reset()method
- Fix
- react + cosmograph: Update README.md 36d118d
- cosmograph > Labels: Tweak weights logic 56f4db0
- ui >
Timeline: Fix parsing ‘null’ dates fe99e5e - general: Remove
default...prefix from some Cosmograph config properties f07d2b7 - general: Update “@cosmograph/cosmos” to “2.0.0-beta.17” 133d223
- cosmograph: Add
pointSizeRangeandlinkWidthRangeprops for automatic scaling 54623c3 - general: Rename all props that accept column name as input by adding postfix ‘By’ aa83829
- cosmograph: (breaking) Add postfix ‘By’ to all props that accept column name as input 79a392f
- cosmograph: Rename
setClusterStrengthtosetPointClusterStrength64b6f9a - general: Update “@cosmograph/cosmos” to “2.0.0-beta.16” f941ac7
- cosmograph: Clustering features a096d8d
- Added
pointClusterStrengthcolumn to control how strongly each point is attracted to its assigned cluster during the simulation getClusterPositions()methods to get current cluster centers [x, y] positions at canvasclusterPositionsprop to set [x, y] positions of cluster centers at canvas
- Added
- cosmograph >
MosaicDBCoordinator: Better logging forquery()andexec()methods 836e4c5 - cosmograph >
PointSelectionClient: Fix handling empty selection 01c733c - cosmograph > Data Kit: Fix
insertPointsquery to index clusters only whenpointClusterprovided 3cff4e9 - cosmograph: Sync codebase with cosmos “2.0.0-beta.15” 943c11c
- Typed arrays for cosmos data (PointColor, PointSize, LinkColor, etc)
- Added
simulationClusterStrengthforce intoCosmographConfig
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.15” 318fac8
- cosmograph > Data Kit: Prepare
pointClustercolumn as indexed clusters for cosmograph 67bf082 - cosmograph: !
prepareCosmographDataArrow->prepareCosmographData+ !prepareCosmographData->prepareCosmographDataFilesfb4239a - cosmograph: Add support for
pointClusterecbe779 - cosmograph: Update “@uwdata/mosaic-core” + “@uwdata/mosaic-sql” to “0.12.0” dc84f93
- cosmograph > Labels:
showLabelsprop for controlling visibility of all labels at once (except hovered) 57b3dd1showLabelsis false by default andshowDynamicLabelsis nowtrueby default.- If
pointLabelprovided into the Data Kit config, it will automatically output a Cosmograph config withshowLabels: true
- cosmograph >
_removeCosmosPoints: Remove points data only from valid arrays 7af3f01 - general: Update “@cosmograph/cosmos” to “2.0.0-beta.13” ec5a3b4
- cosmograph: Do not control simulation if
disableSimulationistrue8e36a03 - react: Add
React.memointo components 22c2d0a - cosmograph + react: Update README.md 345e4ba
- react: Fix
useCosmographhook a50e460 - cosmograph: Auto-generated
pointSizeFnforpointSize27b694c Closes #293 - ui + cosmograph:
SizeLegend: Fix graph elements size consistency with the current scales da26d72 Closes #315 and #316 - cosmograph: Add
pointSizeUpdated/linkWidthUpdatedlisteners forSizeLegend3b120cf - cosmograph: Update
AccessorFntype d2e66ee - cosmograph > SizeLegend: Recalculate label of max extent when zooming and
scalePointOnZoomenabled b057265 Closes #314 - cosmograph: Fix type of
onDataUpdatedcallback 6a2da66 - cosmograph: Fix exports 6ef1c45
- cosmograph >
CosmographBars: Reset selection (if active) when invalid accessor 1d871c7 - ui >
Bars: Sorting buttons 8afd388 - ui: Legends > Styles update 3978ba5
RangeColorLegend: Fix extent label visibility if extent value === 0
- ui + cosmograph:
TypeLegend: Fixed behavior whenaccessoris not vaild 1ea9800 - ui + cosmograph:
RangeColorLegend: Addshow/hidemethods, fix styles 024501e - ui + cosmograph:
SizeLegend: Fixshow/hidemethods 4408a51 - ui + cosmograph:
TypeLegend: Addedshow/hidemethods 326afdb – Fixed hiddenTypeLegendstyle - react:
CosmographBarscomponent dc7db4f - cosmograph:
CosmographBarscomponent + restructuring update dbd5e44 – Updated modules ordering – RefactoredHistogramClientintoFilteringClientwithpublishExactmethod to allow filtering by values. – AddedCosmographFilteringComponentbase class to simplify creation of filtering components – RefactoredCosmographTimeline,CosmographHistogramto useCosmographFilteringComponent– AddedCosmographBarscomponent based on “CosmographFilteringComponent– Fixed selection bugs forCosmographTypeColorLegend` - ui: Update
TypeColorLegendc24680f – Added JSDoc – AddedalignRightprop to align legend items to the right – Added “show more” button that activates virtualized list scrolling – Addedexpandedprop to control legend list - ui:
Barscomponent 90a86c8 - cosmograph > Labels: Apply ‘pointer: cursor
ifonLabelClick` provided 090fe72 - cosmograph + react > Labels: Support for custom floating labels be8db5e
- cosmograph > CosmographSizeLegend: Added
dynamicPointSizeprop 6a9c63e - cosmograph > Legends: Prevent legends from updating before initialization d9ea49d
- cosmograph: Fix parsing
[r,g,b,a]colors inpointColor/linkColor858208a - ui > TypeColorLegend: Fixed legend container height calculation ac9d5e5
2.0.0-beta.7
- cosmograph: Promises fix ff13459
- Do not query
getPointsByIndices,getPointIdsByIndices,getPointsByIndices,getPointIndicesByColumnValues,getPointIndicesByLinksColumnValues,getLinksByPointIds,getLinksByPointIndicesif items array to query is empty
- Do not query
- ui + cosmograph: TypeLegend list virtualization d0e18df
- Moved selection styling logic into ui/TypeLegend
- New
maxDisplayedItemsprop in theTypeLegendconfig - Added
sortByandsortOrderfunctional intoCosmographTypeColorLegend
- cosmograph: Update env variable for the debug log ef56600
- cosmograph: Fix points unselection 6f7911b
2.0.0-beta.6
- cosmograph:
simulationImpulseprop to control simulation while adding/removing data 7d6a8f3 - cosmograph > RangeColorLegend + SizeLegend: Update legends on
dataUpdated1d78104 - cosmograph: Data adding and removing functions update a7132a6
addPoints->addData, now handles links data adding too- Added
removeLinksByPointIndicesPairs,removeLinksByPointIdPairs - Renamed all ‘indicies’ to ‘indices’ in method names and props
- cosmograph: Fix duplicate column quering in labels requests 05309dd
- ui > historgam + timeline: Handle equal min/max data extent b93e694
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.12” f6bfe6b
- cosmograph >
CosmographHistogram+CosmographTimeline: Always get actualgetColumnsToInclude224bfe8 - cosmograph: Async states refactoring a0659d5
- cosmograph > Labels: Fix hide condition a91c59f
- ui > historgam + timeline: Fix selection when less than half of bar selected 248a4d0
- Histogram : ‘No timeline data’ -> ‘No histogram data’
- cosmograph: Fixed condition for adding points during positions update 23c03ff
- cosmograph: Remove unused methods d35b556
- cosmograph >
CosmographHistogram+CosmographTimeline: Add loading data state 234d6ed - cosmograph: Refactor
getPointIndicesFromLinks2b933b8 (‘@uwdata‘“0.11.0” now uses ‘@uwdata/flechette’ that is faster replacement for ‘apache-arrow’Tablebut don’t supportconcatmethod) - general: Update “@duckdb/duckdb-wasm” to “1.29.0” 15360ce
- general: Update “@cosmograph/cosmos” to “2.0.0-beta.11” fc02e3a
- cosmograph > Labels: Set
z-index: 1for hovered label default style 1a234a9 - cosmograph: Update “@uwdata/mosaic-core” + “@uwdata/mosaic-sql” to “0.11.0” eec7a72
- general: Update “@duckdb/duckdb-wasm” to “1.28.1-dev292.0” d7b12b6
- react: Remove “@cosmograph/cosmos” from dependencies c8d3eee
- cosmograph > _handlePointPositions: Fix logic of preserving existing points positions 9e3bb79
- cosmograph > Labels:
labelMargin+LabelPaddingupdated config props ae09ae1- Fixed custom class assignment
- cosmograph + react: CosmographSizeLegend 78b85d1
- ui > RangeColorLegend + SizeLegend: Update legend items animation style during selection a60f2f2
- ui: TypeColorLegend component 4bb2370
- cosmograph: Worked out nullish values of data inputs 1d426aa
- cosmograph > DuckDBInstance: Better error handling for data upload fed24c1
- ui > legends: Fixed “no data” div displaying e45bbc7
- ui > timeline + historgam: Added
setLoadingStatefunction 1767544 - cosmograph: Isolate column names in queries to prevent errors when column named like SQL command f6ab09b
- cosmograph >
CosmographHistogram/CosmographTimeline: Fetch data during initialization if available c67e9d6 - ui > timeline: Fixed timeline data type detection f0a10a4
- cosmograph: Fix timing of
_resolveDataReady/'dataUpdated'events e00b29a - cosmograph:
addPointsandremovePointsByIndicesdocs 631d95e
2.0.0-beta.5
- cosmograph:
addPointsandremovePointsByIndicesmethods 597a6c5MosaicDBCoordinator: Madedestroy()async
- cosmograph > duckdb: Add insert option into data uploading methods 80dd9ce
- general: Update @cosmograph/cosmos to 2.0.0-beta.9 107bb5e
- ui > histogram: Boosted initialization performance a074f5e
- cosmograph: Dispatch ‘dataUpdated’ event earlier for faster Cosmograph components initialization 67f7930
- ui > timeline: Boosted initialization performance 47eab15
- Fixed handling timestamps in formats lesser than milliseconds
- cosmograph: Update JSDoc 1a1e624
2.0.0-beta.4
- cosmograph > Legends: Update types e2450de
- cosmograph + react:
CosmographRangeColorLegendcomponent 49f70af - ui:
RangeColorLegendcomponent 20354c5 - cosmograph + ui > SizeLegend: Enhance logic, update style, add docs d8e7f40
- cosmograph: Update labels positions after
pointX/pointYchange d47823f - cosmograph: Fix
linksSummaryquerying if no links e72d65a - cosmograph > Labels: Enhance label customization and positioning f1245f4
- Fixed hovered point label positioning calculation with respect to point radius and zoom
- Support inline style passed in
pointLabelClassName/hoveredPointLabelClassName - Add
textas first argument insidepointLabelClassName/hoveredPointLabelClassNamecallback
- cosmograph > SizeLegend: Sync extent with
pointSizeFn/linkWidthFncf57648 - cosmograph + react: CosmographSizeLegend 627d12a
- Added
getPointIndicesByLinksColumnValues()andgetPointIndiciesByColumnValues()methods intoCosmograph - Added public getter
selectionClientfor selection client that allows users to apply custom selections by point indicies - Added
pointSizeScaleUpdated/linkWidthScaleUpdatedevents dispatching while_onZoom()ofCosmographthat fixes Labels alignment during zoom
- Added
- ui: SizeLegend component 5dad7d2
- cosmograph: Fix
disableSimulationdetection 547dbff - cosmograph: Fix data resolving for external DuckDB instances 71bd76d
- cosmograph > Labels: Fixed label position calculation while zoom\pointSizeScale increase feff62e
- Added
labelPadding
- Added
- cosmograph > timeline/histogram: Rename
filterLinks->useLinksData1b7769d - cosmograph > Cosmograph: Add summary into stats 2eab468
- cosmograph: Configured “typedoc-plugin-markdown” 8d44218
- cosmograph: Updated internal interfaces structure and comments for typedoc 7a5c2c8
- cosmograph: Added typedoc 563ed10
- cosmograph: Fixed [r, g, b, a] colors parsing from table if specified in RGBA 7b7f95f
- cosmograph: Fixed checking env.DEV for dev logging 3398372
- cosmograph > Cosmograph: Improved logging while initialization e86ce9e
- cosmograph > MosaicDBCoordinator: Return
undefinedif unsuccessful initialization 48c218e
2.0.0-beta.3
- dev: Update examples 1074720
- cosmograph > data-kit: Add
showTopLabelsandshowDynamicLabelsinto config ifpointLabelprovided d6a8c96 - cosmograph > Labels: Set
cosmographDynamicLabelopacity to 1 6765b8f - cosmograph > Labels: Correct hovered label positioning 5ee709b
- general: bump @cosmograph/cosmos from 2.0.0-beta.6 to 2.0.0-beta.7 0205fc9
- refactor: rename link index properties for clarity, HTMLDivElement -> HTMLElement 9ed44e2
- Renamed
linkSourceIdxtolinkSourceIndexandlinkTargetIdxtolinkTargetIndexacross multiple files for better readability and consistency. - Replaced
HTMLDivElementwithHTMLElementincosmograph/index.tsandcosmograph/labels/index.tsto generalize container element types.
- Renamed