From 43e2dcb55f466be51e639a6ce117c3c158e15953 Mon Sep 17 00:00:00 2001
From: ali asaria <aliasaria@users.noreply.github.com>
Date: Wed, 26 Feb 2025 11:17:45 -0500
Subject: [PATCH] placeholder for add node button

---
 .../components/Experiment/Workflows/WorkflowCanvas.tsx     | 6 ++++++
 src/renderer/styles.css                                    | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/src/renderer/components/Experiment/Workflows/WorkflowCanvas.tsx b/src/renderer/components/Experiment/Workflows/WorkflowCanvas.tsx
index c222b8ad..4c2ac430 100644
--- a/src/renderer/components/Experiment/Workflows/WorkflowCanvas.tsx
+++ b/src/renderer/components/Experiment/Workflows/WorkflowCanvas.tsx
@@ -1,4 +1,5 @@
 import { Background, ControlButton, Controls, ReactFlow } from '@xyflow/react';
+import { PlusCircleIcon } from 'lucide-react';
 import React from 'react';
 
 function generateNodes(workflow: any) {
@@ -64,6 +65,11 @@ export default function WorkflowCanvas({ selectedWorkflow }) {
           *
         </ControlButton>
       </Controls>
+      <PlusCircleIcon
+        style={{ position: 'absolute', bottom: '20px', right: '20px' }}
+        strokeWidth={2}
+        size={32}
+      />
     </ReactFlow>
   );
 }
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 17f1e690..37e0cdb1 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -215,4 +215,11 @@ textarea {
   margin: 0 5px 5px 0;
   font-size: 14px;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
+}
+
+/* React flow asks us not to hide attribution but it is
+MIT licensed so we have the right to modify the source
+code if we want */
+.react-flow__attribution a {
+  display: none;
 }
\ No newline at end of file
-- 
GitLab