From 435630e3dc5b31b38978a1d5f44c0af14d85c310 Mon Sep 17 00:00:00 2001 From: james-strauss-uwa Date: Tue, 5 Nov 2024 11:27:59 +0800 Subject: [PATCH] Add missing showGraphConfig function --- src/LogicalGraph.ts | 3 +++ src/Utils.ts | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/src/LogicalGraph.ts b/src/LogicalGraph.ts index 6674d068..44b384a9 100644 --- a/src/LogicalGraph.ts +++ b/src/LogicalGraph.ts @@ -981,5 +981,8 @@ export class LogicalGraph { } } + // check that all fields, in all nodes, in all graph configs are actually present in the graph + + } } diff --git a/src/Utils.ts b/src/Utils.ts index 8c451d0e..460b48a2 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -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 @@ -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){