jlaksana / UML2Code

UML diagram creator designed for intro CS students
https://uml2code.vercel.app
2 stars 0 forks source link

Edge context and reducer #40

Closed jlaksana closed 1 year ago

jlaksana commented 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.

jlaksana commented 1 year ago

https://github.com/jlaksana/UML2Code/commit/95434b1874b399f1ede42d6585ae3d96b6be7637