cleanup the code a bit...
This commit is contained in:
parent
1bd801ce5d
commit
7994cd6eb0
19 changed files with 685 additions and 625 deletions
|
|
@ -28,6 +28,14 @@ export type History = {
|
|||
topLeft: Vec2D;
|
||||
};
|
||||
|
||||
export type ConcreteSyntax = {
|
||||
rountangles: Rountangle[];
|
||||
texts: Text[];
|
||||
arrows: Arrow[];
|
||||
diamonds: Diamond[];
|
||||
history: History[];
|
||||
};
|
||||
|
||||
// independently moveable parts of our shapes:
|
||||
export type RectSide = "left" | "top" | "right" | "bottom";
|
||||
export type ArrowPart = "start" | "end";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue