aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/graph/GraphManager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/graph/GraphManager.ts')
-rw-r--r--src/client/views/graph/GraphManager.ts45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/client/views/graph/GraphManager.ts b/src/client/views/graph/GraphManager.ts
deleted file mode 100644
index b62f2337b..000000000
--- a/src/client/views/graph/GraphManager.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-import {Graph} from "./Graph";
-import {observable, computed} from 'mobx';
-import { Dictionary } from "typescript-collections";
-import { string } from "prop-types";
-import { Doc } from "../../../new_fields/Doc";
-
-
-export class GraphManager {
- @observable public Graphs: Graph[] = [];
-
- @observable public GraphData: Doc = new Doc();
-
- private static _instance: GraphManager;
-
- @computed
- public static get Instance():GraphManager {
- return this._instance || (this._instance = new this());
- }
-
- private constructor(){
-
- }
-
-
-
-
- public set addGraph(graph:Graph){
- this.Graphs.push(graph);
- }
-
-
- defaultGraphs = () => {
-
- }
-
-
-
-
-
-
-
-
-} \ No newline at end of file