Skip to main content

Developer Reference / @visdesignlab/upset2-react / UpsetProps

Interface: UpsetProps

Defined in: types.ts:99

Represents the props for the Upset component.

Properties

PropertyTypeDescriptionDefined in
allowAttributeRemoval?booleanWhether or not to allow the user to remove attribute columns. This should be enabled only if there is an option within the parent application which allows for attributes to be added after removal. Default attribute removal behavior in UpSet 2.0 is done via context menu on attribute headers. Defaults to false.types.ts:129
altTextSidebar?SidebarPropsSidebar options for the alt text sidebar component. This sidebar is used to display the generated text descriptions for an Upset 2.0 plot, given that the generateAltText function is provided.types.ts:175
canEditPlotInformation?booleanWhether or not the user has plot information edit permissions.types.ts:134
config?anyOptional configuration for the Upset component.types.ts:108
dataanyThe data for the Upset component.types.ts:103
elementSidebar?SidebarPropsSidebar options for the element sidebar component. This sidebar is used for element queries, element selection datatable, and supplemental plot generation.types.ts:169
extProvenance?objectExternal provenance actions and TrrackJS object for provenance history tracking and actions. This should only be used if your tool is using TrrackJS and has all the actions used by UpSet 2.0. Provenance is still tracked if nothing is provided. Note that initializeProvenanceTracking and getActions are used to ensure that the provided provenance object is compatible.types.ts:155
extProvenance.actionsobject-types.ts:157
extProvenance.actions.activateSelectionType(selectionType) => anyActivates a saved selection. This should ONLY be used when the selection of the given type has already been set. If null, clears the selection type. DON'T use this concurrently with setVegaSelection or setQuerySelection; these handle selection type themselves.provenance/index.ts:581
extProvenance.actions.addAttribute(attr) => any-provenance/index.ts:499
extProvenance.actions.addBookmark(b) => anyAdds a bookmark to the stateprovenance/index.ts:522
extProvenance.actions.addCollapsed(id) => any-provenance/index.ts:544
extProvenance.actions.addMultipleAttributes(attrs) => any-provenance/index.ts:503
extProvenance.actions.addPlot(plot) => anyAdds a plot to the stateprovenance/index.ts:534
extProvenance.actions.addSetQuery(query, queryString) => any-provenance/index.ts:631
extProvenance.actions.addVisibleSet(set) => any-provenance/index.ts:495
extProvenance.actions.collapseAll(ids) => any-provenance/index.ts:548
extProvenance.actions.expandAll() => any-provenance/index.ts:550
extProvenance.actions.firstAggregateBy(aggBy) => any-provenance/index.ts:466
extProvenance.actions.firstOverlapBy(overlap) => any-provenance/index.ts:468
extProvenance.actions.removeAttribute(attr) => any-provenance/index.ts:501
extProvenance.actions.removeBookmark(b) => anyRemoves a bookmark from the stateprovenance/index.ts:528
extProvenance.actions.removeCollapsed(id) => any-provenance/index.ts:546
extProvenance.actions.removeMultipleVisibleAttributes(attrs) => any-provenance/index.ts:508
extProvenance.actions.removePlot(plot) => anyRemoves a plot from the stateprovenance/index.ts:540
extProvenance.actions.removeSetQuery() => any-provenance/index.ts:633
extProvenance.actions.removeVisibleSet(set) => any-provenance/index.ts:497
extProvenance.actions.replaceState(state) => any-provenance/index.ts:542
extProvenance.actions.secondAggregateBy(aggBy) => any-provenance/index.ts:470
extProvenance.actions.secondOverlapBy(overlap) => any-provenance/index.ts:472
extProvenance.actions.setHideEmpty(val) => any-provenance/index.ts:485
extProvenance.actions.setHideNoSet(val) => any-provenance/index.ts:490
extProvenance.actions.setIntersectionSizeLabels(show) => anySets whether set intersection size labels should be shownprovenance/index.ts:608
extProvenance.actions.setMaxVisible(val) => any-provenance/index.ts:481
extProvenance.actions.setMinVisible(val) => any-provenance/index.ts:483
extProvenance.actions.setPlotInformation(plotInformation) => any-provenance/index.ts:551
extProvenance.actions.setQuerySelection(selection) => anySets the element query and selection type to 'query', and clears the row selectionprovenance/index.ts:592
extProvenance.actions.setRowSelection(intersection) => any-provenance/index.ts:556
extProvenance.actions.setSetSizeLabels(show) => anySets whether set size labels should be shownprovenance/index.ts:617
extProvenance.actions.setShowHiddenSets(show) => anySets whether hidden sets should be shownprovenance/index.ts:626
extProvenance.actions.setUserAltText(altText) => any-provenance/index.ts:599
extProvenance.actions.setVegaSelection(selection) => anySets the vega selection and selection type to 'vega', and clears the row selectionprovenance/index.ts:567
extProvenance.actions.sortBy(sort, sortByOrder) => any-provenance/index.ts:476
extProvenance.actions.sortVisibleBy(sort) => any-provenance/index.ts:474
extProvenance.actions.updateAttributePlotType(attr, plotType) => any-provenance/index.ts:513
extProvenance.provenanceTrrack-types.ts:156
footerHeight?numberHeight of the footer overlayed on the upset plot, in px, if one exists. Used to prevent the bottom of the sidebars from overlapping with the footer.types.ts:181
generateAltText?() => Promise<AltText>Async function which should return a generated AltText object.types.ts:186
hideSettings?booleanHide the aggregations/filter settings sidebar.types.ts:139
parentHasHeight?booleanIndicates if the parent component has a fixed height. If this is set to false, the plot will occupy the full viewport height. When set to true, the plot will fit entirely within the parent component. Defaults to false.types.ts:147
provVis?SidebarPropsSidebar options for the provVis component.types.ts:163
visibleDatasetAttributes?string[]List of attribute names (strings) which should be visualized. Defaults to the first 3 if no value is provided. If an empty list is provided, displays no attributes.types.ts:115
visualizeUpsetAttributes?booleanWhether or not to visualize UpSet generated attributes (degree and deviation). Defaults to false.types.ts:121