From eecb903a1c8d0cd2d0b618efe548be196f942e43 Mon Sep 17 00:00:00 2001 From: "Val Erastov (xibyte)" Date: Sun, 19 Jul 2020 21:56:37 -0700 Subject: [PATCH] move out graph utility --- web/app/cad/sketch/sketchReader.js | 2 +- web/app/sketcher/tools/loop-pick.js | 2 +- web/app/{math => utils}/graph.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename web/app/{math => utils}/graph.js (98%) diff --git a/web/app/cad/sketch/sketchReader.js b/web/app/cad/sketch/sketchReader.js index e216026f..3a8775ed 100644 --- a/web/app/cad/sketch/sketchReader.js +++ b/web/app/cad/sketch/sketchReader.js @@ -1,5 +1,5 @@ import * as sm from './sketchModel' -import {Graph} from '../../math/graph' +import {Graph} from '../../utils/graph' import {HashTable} from '../../utils/hashmap' import Joints from '../../../../modules/gems/joints'; import sketchObjectGlobalId from './sketchObjectGlobalId'; diff --git a/web/app/sketcher/tools/loop-pick.js b/web/app/sketcher/tools/loop-pick.js index 7f475ebc..683d8827 100644 --- a/web/app/sketcher/tools/loop-pick.js +++ b/web/app/sketcher/tools/loop-pick.js @@ -1,5 +1,5 @@ import {Tool} from './tool' -import {Graph} from '../../math/graph' +import {Graph} from '../../utils/graph' import {Styles} from '../styles' import {DEFAULT_SEARCH_BUFFER} from "../viewer2d"; diff --git a/web/app/math/graph.js b/web/app/utils/graph.js similarity index 98% rename from web/app/math/graph.js rename to web/app/utils/graph.js index 6225534b..16a34bf8 100644 --- a/web/app/math/graph.js +++ b/web/app/utils/graph.js @@ -1,4 +1,4 @@ -import {HashTable} from '../utils/hashmap' +import {HashTable} from './hashmap' /** @constructor */ function Graph(data) {