You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to filter out context graphs that are unrelated to a particular scenario. We have special comparison scenarios defined, and there are certain comparison graphs that are only relevant for one specific scenario, so we should be able to configure this.
(This is being split out from #539. See that issue for more background.)
The text was updated successfully, but these errors were encountered:
chrispcampbell
changed the title
Allow for filtering out context graphs that are unrelated to a particular scenario
Allow for customizing the set of context graphs that are displayed for a particular dataset/scenario
Oct 5, 2024
I've added an optional method to the ComparisonDatasetOptions interface, which allows for overriding the default behavior.
exportinterfaceComparisonDatasetOptions{// .../** * An optional function that allows for customizing the set of context graphs * that are shown for a given dataset and scenario. By default, all graphs in * which the dataset appears will be shown, but if a custom function is provided, * it can return a different set of graphs (for example, to omit graphs that are * not relevant under the given scenario). */contextGraphIdsForDataset?: (dataset: ComparisonDataset,scenario: ComparisonScenario)=>BundleGraphId[]}
Currently there is no way to filter out context graphs that are unrelated to a particular scenario. We have special comparison scenarios defined, and there are certain comparison graphs that are only relevant for one specific scenario, so we should be able to configure this.
(This is being split out from #539. See that issue for more background.)
The text was updated successfully, but these errors were encountered: