aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/graph
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2019-08-01 17:00:10 -0400
committerandrewdkim <adkim414@gmail.com>2019-08-01 17:00:10 -0400
commitbf3d45f8a16d23384a308f65adfa9a2baee495af (patch)
tree15e8d74c57436a5987133bf5732764a8155bb282 /src/client/views/graph
parent59f3d2405870135314d00ea80acae0dc17b99955 (diff)
prosemirror
Diffstat (limited to 'src/client/views/graph')
-rw-r--r--src/client/views/graph/Graph.tsx17
-rw-r--r--src/client/views/graph/GraphManager.ts45
-rw-r--r--src/client/views/graph/GraphMenu.tsx0
3 files changed, 62 insertions, 0 deletions
diff --git a/src/client/views/graph/Graph.tsx b/src/client/views/graph/Graph.tsx
new file mode 100644
index 000000000..864bb8f46
--- /dev/null
+++ b/src/client/views/graph/Graph.tsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import { CollectionFreeFormView } from "../collections/collectionFreeForm/CollectionFreeFormView";
+
+export class Graph extends React.Component {
+
+
+
+
+
+
+
+ render() {
+ return (
+ )
+ }
+
+} \ No newline at end of file
diff --git a/src/client/views/graph/GraphManager.ts b/src/client/views/graph/GraphManager.ts
new file mode 100644
index 000000000..9d62b1ef8
--- /dev/null
+++ b/src/client/views/graph/GraphManager.ts
@@ -0,0 +1,45 @@
+
+
+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 = () => {
+ this.GraphData.linear = ;
+ }
+
+
+
+
+
+
+
+
+} \ No newline at end of file
diff --git a/src/client/views/graph/GraphMenu.tsx b/src/client/views/graph/GraphMenu.tsx
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/client/views/graph/GraphMenu.tsx