diff --git a/client/src/components/graph/graph.js b/client/src/components/graph/graph.js index b60b7a42..c91f6e0a 100644 --- a/client/src/components/graph/graph.js +++ b/client/src/components/graph/graph.js @@ -6,6 +6,7 @@ import { mat3, vec2 } from "gl-matrix"; import _regl from "regl"; import memoize from "memoize-one"; import Async from "react-async"; +import { Button } from "@blueprintjs/core"; import setupSVGandBrushElements from "./setupSVGandBrush"; import _camera from "../../util/camera"; @@ -28,7 +29,6 @@ Simple 2D transforms control all point painting. There are three: * camera - apply a 2D camera transformation (pan, zoom) * projection - apply any transformation required for screen size and layout */ - function createProjectionTF(viewportWidth, viewportHeight) { /* the projection transform accounts for the screen size & other layout @@ -884,7 +884,13 @@ class Graph extends React.Component { viewport, }} > - Embedding loading... + + + {(error) => ( { ); }; +const StillLoading = ({ displayName, width, height }) => { + /* + Render a busy/loading indicator + */ + return ( +
+
+
+
+ ); +}; + export default Graph;