Write out representation in Element structure

This commit is contained in:
Aaron Fenyes 2024-11-10 19:24:26 -08:00
parent 933f05661d
commit da008fd090
4 changed files with 22 additions and 20 deletions

View file

@ -72,7 +72,7 @@ pub fn Outline() -> View {
}
});
let label = elt.label.clone();
let rep_components = elt.rep.iter().map(|u| {
let rep_components = elt.representation.iter().map(|u| {
let u_coord = u.to_string().replace("-", "\u{2212}");
View::from(div().children(u_coord))
}).collect::<Vec<_>>();