Skip to content

Commit

Permalink
default value of "show labels of" is automatic
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakae committed Oct 8, 2024
1 parent c2a3c35 commit 400ed7e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,10 @@ const showLabelsOption: ValuedSynthesisOption = {
id: showLabelsID,
name: "Show Labels of",
type: TransformationOptionType.DROPDOWN,
currentId: "losses",
currentId: "automatic",
availableValues: [
{ displayName: "All", id: "all" },
{ displayName: "Automatic", id: "automatic" },
{ displayName: "Losses", id: "losses" },
{ displayName: "Hazards", id: "hazards" },
{ displayName: "System Constraints", id: "systemConstraints" },
Expand All @@ -302,21 +303,21 @@ const showLabelsOption: ValuedSynthesisOption = {
{ displayName: "Controller Constraints", id: "controllerConstraints" },
{ displayName: "Scenarios", id: "scenarios" },
{ displayName: "Safety Constraints", id: "safetyConstraints" },
{ displayName: "Automatic", id: "automatic" },
],
initialValue: "losses",
currentValue: "losses",
initialValue: "automatic",
currentValue: "automatic",
values: [],
category: layoutCategory,
} as DropDownOption,
currentValue: "losses",
currentValue: "automatic",
};

/**
* Values for filtering the node labels.
*/
export enum showLabelsValue {
ALL,
AUTOMATIC,
LOSSES,
HAZARDS,
SYSTEM_CONSTRAINTS,
Expand All @@ -325,7 +326,6 @@ export enum showLabelsValue {
CONTROLLER_CONSTRAINTS,
SCENARIOS,
SAFETY_CONSTRAINTS,
AUTOMATIC,
}

export class StpaSynthesisOptions extends SynthesisOptions {
Expand Down

0 comments on commit 400ed7e

Please sign in to comment.