App: add element selection

This commit is contained in:
Aaron Fenyes 2024-09-16 11:29:44 -07:00
parent 93190e99da
commit a60624884a
5 changed files with 41 additions and 7 deletions

View file

@ -7,6 +7,10 @@ pub struct Element {
pub label: String,
pub color: [f32; 3],
pub rep: DVector<f64>,
/* TO DO */
// does this belong in the element data?
pub selected: Signal<bool>
}
// a complete, view-independent description of an assembly