diff --git a/packages/webpage-refactor/components/dynamicSquiggleChart.js b/packages/webpage-refactor/components/dynamicSquiggleChart.js
index b865518..3d76ddc 100644
--- a/packages/webpage-refactor/components/dynamicSquiggleChart.js
+++ b/packages/webpage-refactor/components/dynamicSquiggleChart.js
@@ -24,57 +24,51 @@ const effectButtonStyle =
"bg-transparent m-2 hover:bg-blue-500 text-blue-700 font-semibold hover:text-white py-2 px-4 border border-blue-500 hover:border-transparent rounded mt-5";
export function DynamicSquiggleChart({ link, stopShowing }) {
- let usefulLink = {
- source: link.source,
- target: link.target,
- squiggleString: link.squiggleString,
- };
- return link == null ? (
- ""
- ) : (
- /*{
-
+ if (link == null) {
+ return "";
+ } else {
+ let usefulLink = {
+ source: link.source,
+ target: link.target,
+ squiggleString: link.squiggleString,
+ };
+ return (
+
+
+
+ {/*
+ SquiggleChart props:
+ squiggleString?: string;
+ sampleCount?: number;
+ environment?: environment;
+ chartSettings?: FunctionChartSettings;
+ onChange?(expr: squiggleExpression): void;
+ width?: number;
+ height?: number;
+ bindings?: bindings;
+ jsImports?: jsImports;
+ showSummary?: boolean;
+ showTypes?: boolean;
+ showControls?: boolean;
+ */}
-
-
-
- }*/
-
-
-
-
-
- );
- {
- /*
- SquiggleChart props:
- squiggleString?: string;
- sampleCount?: number;
- environment?: environment;
- chartSettings?: FunctionChartSettings;
- onChange?(expr: squiggleExpression): void;
- width?: number;
- height?: number;
- bindings?: bindings;
- jsImports?: jsImports;
- showSummary?: boolean;
- showTypes?: boolean;
- showControls?: boolean;
- */
+
+
+ );
}
}
diff --git a/packages/webpage-refactor/public/example-graph-and-squiggle.png b/packages/webpage-refactor/public/example-graph-and-squiggle.png
new file mode 100644
index 0000000..acb2d5c
Binary files /dev/null and b/packages/webpage-refactor/public/example-graph-and-squiggle.png differ