aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/algorithms/line-drawing/DDA.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/algorithms/line-drawing/DDA.svelte b/src/algorithms/line-drawing/DDA.svelte
index aa7ac08..bee2c16 100644
--- a/src/algorithms/line-drawing/DDA.svelte
+++ b/src/algorithms/line-drawing/DDA.svelte
@@ -119,13 +119,14 @@
</table>
</details>
+ <h3>Graph</h3>
{#if plotlyReady === false}
+ {alert("Cannot plot graph: Plotly is not ready. Try again.")}
<p class="note">
Cannot plot graph: Plotly is not ready.
</p>
{/if}
{/if}
-
<div id="algoChart"></div>
<style>