aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-29 11:25:28 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-29 11:25:28 -0400
commite9e58ea66ad1c8e6390c6a83057f8eb97cef122f (patch)
tree4c76e96ac2165d17bc5a1f3c7157762d2cd9ff17 /src
parenta98ed068ac96957b872928dab0d19327e38b31d4 (diff)
removed graph code
Diffstat (limited to 'src')
-rw-r--r--src/client/views/graph/Graph.tsx32
-rw-r--r--src/client/views/graph/GraphManager.ts45
-rw-r--r--src/client/views/graph/GraphMenu.tsx0
3 files changed, 0 insertions, 77 deletions
diff --git a/src/client/views/graph/Graph.tsx b/src/client/views/graph/Graph.tsx
deleted file mode 100644
index d925cc32c..000000000
--- a/src/client/views/graph/Graph.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import * as React from "react";
-import {observable} from "mobx";
-import { observer } from "mobx-react";
-import { Document, listSpec } from "../../../new_fields/Schema";
-import { CollectionFreeFormView } from "../collections/collectionFreeForm/CollectionFreeFormView";
-import { CollectionSubView, CollectionViewProps, SubCollectionViewProps } from "../collections/CollectionSubView";
-
-
-
-
-export class Graph extends CollectionSubView(Document) {
- static Instance:Graph;
-
- private constructor(props:SubCollectionViewProps) {
- super(props);
- Graph.Instance = this;
- }
-
-
-
-
- render() {
- let collection = <CollectionFreeFormView {...this.props}/>;
-
- return (
- <div>
- </div>
-
- );
- }
-
-} \ No newline at end of file
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
diff --git a/src/client/views/graph/GraphMenu.tsx b/src/client/views/graph/GraphMenu.tsx
deleted file mode 100644
index e69de29bb..000000000
--- a/src/client/views/graph/GraphMenu.tsx
+++ /dev/null