dx / schemas /freeform.fbs
hoduyquocbao's picture
add initial project structure with essential files and configurations
4f0c4ca
namespace Schema;
struct Position {
x:float;
y:float;
}
struct Size {
width:float;
height:float;
}
table Entity {
id:string;
type:string;
position:Position;
size:Size;
content:string;
color:string;
selected:bool;
}
table HistoryState {
entities:[Entity];
canvas_offset:Position;
zoom:float;
}
root_type HistoryState;