Open srinath-intelops opened 11 months ago
Azhar requires the clarification from Mahendra on below mentioned questions
Planning to set up a Call with Mahendra tomorrow (Jul 27th)
Implementation Plan:
Azhar created a feasibility document and assessed each of the current feature development with React-Flow.
[ ] Create a document listing all the challenges/steps/things down
[ ] 1. Library Features: Evaluate whether the "react-flow" library provides built-in functionalities to support node creation, different node types, edge connections, and event handling for interactions like hover and double-tap.
[ ] 2. Customization: Check if the library allows sufficient customization to implement the required node and edge properties pop-ups according to the project's design and specifications.
[ ] 3. Documentation and Community Support: Review the "react-flow" library's documentation and community support to determine if it is actively maintained, has good documentation, and a supportive community for troubleshooting and future updates.
[ ] 4. Performance and Scalability: Consider the performance and scalability aspects of the library, especially when dealing with a potentially large number of nodes and edges, to ensure the diagram maker can handle complex diagrams efficiently.
[ ] 5. Integration: Verify that the "react-flow" library can be integrated seamlessly into the existing project architecture and any potential conflicts with other libraries or components are addressed.
[ ] 6. Browser Compatibility: Ensure that the "react-flow" library is compatible with all major web browsers to provide a consistent user experience across different platforms.
Note: I have made this points based on our previous conversations and functionalities present in diagram maker. Please feel free to add if anything is missing.
By Azhar:
Implemented the base diagram maker with react flow.
Added Control panel and background for our diagram-maker Background dots can be replicated like our compage, but the position for the control panel has some limitations. https://reactflow.dev/docs/api/plugin-components/panel/#example-usage
Its positions are defined on the edges, not in the middle. Created normal nodes and edges, but need to figure out how to add nodes on drag and drop, found one resource in docs. Facing a few errors in that. Will work on it tomorrow.
Things I have worked on Aug 1 2023:
Hi Everyone,
Things I have worked on Aug 2 2023: Started exploring on how to dynamically add nodes and edges, And along with that How can we implement multiple source and destinations approach.
Initially I faced multiple issues with the types in react-flow and the code which available on the internet was not compatible with the current react-flow version.
Later I started digging some projects available on github. Here is what I have found!
and many more repositories
common thing among these are, tailwindcss + zustand, Though we are not using them in our projects, but many projects are using them . Good to see these in the open-sources and production ready apps!
Current challenges: Add nodes dynamically! - solution: Going through other people's code and learning by myself. Need to figure out multipe sources and destinations , https://react-flow-mindmap.netlify.app/ These people have already implemented solution, I need to understand this.
Please let me know if I'm in wrong direction
Note: Pavan is taking over the task for the Interim till Azhar finishes up the CompageGPT.
Compage UI with React-Flow POC is complete. Scheduling demo for Chandu on Monday.
Compage - React-Flow Implementation Plan ETA: September 15th
This week's plan: UI Frontend (F.5): Pavan started working on the UI aspect of Frontend using Notus Pro (React, Tailwaid template). The goal is to complete this by tomorrow's EOD. This step includes two parts. Part-1: Convert these components into a package in UI frontend templates repo. Part-2: Now Import components into Compage (from the package that we built in the above part-1) Aysnc API Calls (Point G): Pavan had a call with Mahendra. Per discussion, they will connect and do the pair programming on Wednesday. Added forms to edges and stored them in Zustand.
Implementation Plan Start Date: Aug-30th | ETA: Sept-30th (Need clarity on designs)
Pavan is working on Compage UI Integration with Backend:
Requirement: Replace the diagram-maker with React-Flow
Acceptance Criteria: Complete migration to react-flow from diagram-maker Note: As this is going to be a very big task, we are gonna break it into smaller tasks.
Feasibility Check
Actual code changes and migration
Thorough testing