Closed jlaksana closed 1 year ago
Description In the same way that entities have a context and a reducer to handle adding, editing, and removing, do the same with edges.
Acceptance Criteria Create a context for edges so that any children can access the edges. Create a reducer that can add, edit, and remove an edge.
Additional Information Ensure that the edges follow the format expected in react flow.
https://github.com/jlaksana/UML2Code/commit/95434b1874b399f1ede42d6585ae3d96b6be7637
Description In the same way that entities have a context and a reducer to handle adding, editing, and removing, do the same with edges.
Acceptance Criteria Create a context for edges so that any children can access the edges. Create a reducer that can add, edit, and remove an edge.
Additional Information Ensure that the edges follow the format expected in react flow.