Skip to content

Commit

Permalink
Add missing showGraphConfig function
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Nov 5, 2024
1 parent 174497a commit 435630e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/LogicalGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -981,5 +981,8 @@ export class LogicalGraph {
}
}

// check that all fields, in all nodes, in all graph configs are actually present in the graph


}
}
9 changes: 9 additions & 0 deletions src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { Repository } from './Repository';
import { Setting } from './Setting';
import { UiModeSystem } from "./UiModes";
import { ParameterTable } from "./ParameterTable";
import { GraphConfigurationsTable } from "./GraphConfigurationsTable";

export class Utils {
// Allowed file extensions
Expand Down Expand Up @@ -2160,6 +2161,14 @@ export class Utils {
},100)
}

static showGraphConfig(eagle: Eagle, graphConfigId: GraphConfig.Id){
// open the graph configs table
GraphConfigurationsTable.openModal();

// TODO: highlight?

}

// only update result if it is worse that current result
static worstEdgeError(errorsWarnings: Errors.ErrorsWarnings) : Errors.Validity {
if (errorsWarnings === null){
Expand Down

0 comments on commit 435630e

Please sign in to comment.