This application is built using Vite, React, and GoJS, with pnpm as the package manager.
Live Demo: GoJS Application
To install the dependencies, run the following command:
pnpm install
To start the development server, run:
pnpm dev
To create a production build, run:
pnpm build
- Zustand for state management.
- React Select for select box.
- react-window for virtualization to render large lists efficiently.
- Simplify the Diagram Component: The Diagram component's code could be refactored to improve readability and maintainability.
- Sync/Persist Diagram State: Consider synchronizing and persisting the diagram state with the model.
- Improve UX: In some cases, shape colors are not visible due to the background color. This could be improved by changing the shape color based on the background color.
- Add Tests: Implement tests to ensure the reliability and correctness of the application.