Skip to main content

Developer Reference / @visdesignlab/upset2-react / UpsetProps

Interface: UpsetProps

Defined in: types.ts:98

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:128
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:174
canEditPlotInformation?booleanWhether or not the user has plot information edit permissions.types.ts:133
config?anyOptional configuration for the Upset component.types.ts:107
dataanyThe data for the Upset component.types.ts:102
elementSidebar?SidebarPropsSidebar options for the element sidebar component. This sidebar is used for element queries, element selection datatable, and supplimental plot generation.types.ts:168
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:154
extProvenance.actionsobject-types.ts:156
extProvenance.actions.addAttribute(attr: string) => any-provenance/index.ts:476
extProvenance.actions.addBookmark(b: Bookmark) => anyAdds a bookmark to the stateprovenance/index.ts:485
extProvenance.actions.addCollapsed(id: string) => any-provenance/index.ts:502
extProvenance.actions.addMultipleAttributes(attrs: string[]) => any-provenance/index.ts:478
extProvenance.actions.addPlot(plot: Plot) => anyAdds a plot to the stateprovenance/index.ts:495
extProvenance.actions.addSetQuery(query: SetQuery, queryString: string) => any-provenance/index.ts:567
extProvenance.actions.addVisibleSet(set: string) => any-provenance/index.ts:474
extProvenance.actions.collapseAll(ids: string[]) => any-provenance/index.ts:504
extProvenance.actions.expandAll() => any-provenance/index.ts:505
extProvenance.actions.firstAggregateBy(aggBy: AggregateBy) => any-provenance/index.ts:464
extProvenance.actions.firstOverlapBy(overlap: number) => any-provenance/index.ts:465
extProvenance.actions.removeAttribute(attr: string) => any-provenance/index.ts:477
extProvenance.actions.removeBookmark(b: Bookmark) => anyRemoves a bookmark from the stateprovenance/index.ts:490
extProvenance.actions.removeCollapsed(id: string) => any-provenance/index.ts:503
extProvenance.actions.removeMultipleVisibleAttributes(attrs: string[]) => any-provenance/index.ts:479
extProvenance.actions.removePlot(plot: Plot) => anyRemoves a plot from the stateprovenance/index.ts:500
extProvenance.actions.removeSetQuery() => any-provenance/index.ts:571
extProvenance.actions.removeVisibleSet(set: string) => any-provenance/index.ts:475
extProvenance.actions.replaceState(state: UpsetConfig) => any-provenance/index.ts:501
extProvenance.actions.secondAggregateBy(aggBy: AggregateBy) => any-provenance/index.ts:466
extProvenance.actions.secondOverlapBy(overlap: number) => any-provenance/index.ts:467
extProvenance.actions.setHideEmpty(val: boolean) => any-provenance/index.ts:472
extProvenance.actions.setHideNoSet(val: boolean) => any-provenance/index.ts:473
extProvenance.actions.setIntersectionSizeLabels(show: boolean) => anySets whether set intersection size labels should be shownprovenance/index.ts:547
extProvenance.actions.setMaxVisible(val: number) => any-provenance/index.ts:470
extProvenance.actions.setMinVisible(val: number) => any-provenance/index.ts:471
extProvenance.actions.setPlotInformation(plotInformation: PlotInformation) => any-provenance/index.ts:506
extProvenance.actions.setQuerySelection(selection: any) => anySets the element query selection for the plotprovenance/index.ts:535
extProvenance.actions.setRowSelection(intersection: any) => any-provenance/index.ts:507
extProvenance.actions.setSelectionType(selectionType: any) => anySets the type of the current active selectionprovenance/index.ts:527
extProvenance.actions.setSetSizeLabels(show: boolean) => anySets whether set size labels should be shownprovenance/index.ts:555
extProvenance.actions.setShowHiddenSets(show: boolean) => anySets whether hidden sets should be shownprovenance/index.ts:563
extProvenance.actions.setUserAltText(altText: any) => any-provenance/index.ts:539
extProvenance.actions.setVegaSelection(selection: any) => anySets the global vega brush in use for the plotprovenance/index.ts:517
extProvenance.actions.sortBy(sort: string, sortByOrder: SortByOrder) => any-provenance/index.ts:469
extProvenance.actions.sortVisibleBy(sort: SortVisibleBy) => any-provenance/index.ts:468
extProvenance.actions.updateAttributePlotType(attr: string, plotType: string) => any-provenance/index.ts:480
extProvenance.provenanceTrrack-types.ts:155
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:180
generateAltText?() => Promise<AltText>Async function which should return a generated AltText object.types.ts:185
hideSettings?booleanHide the aggregations/filter settings sidebar.types.ts:138
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:146
provVis?SidebarPropsSidebar options for the provVis component.types.ts:162
visualizeDatasetAttributes?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:114
visualizeUpsetAttributes?booleanWhether or not to visualize UpSet generated attributes (degree and deviation). Defaults to false.types.ts:120