diff --git a/reaction_systems_gui/src/app.rs b/reaction_systems_gui/src/app.rs index a9d48e9..71d3188 100644 --- a/reaction_systems_gui/src/app.rs +++ b/reaction_systems_gui/src/app.rs @@ -2277,15 +2277,19 @@ fn get_layout( Default::default(), ), | BasicValue::DisplayNode { value } => - text.append(&format!("{value:?}"), 0., TextFormat { - ..Default::default() - }), + text.append(&format!("{}", Formatter::from(translator, &value)), + 0., TextFormat { + ..Default::default() + }), | BasicValue::DisplayEdge { value } => - text.append(&format!("{value:?}"), 0., Default::default()), + text.append(&format!("{}", Formatter::from(translator, &value)), + 0., Default::default()), | BasicValue::ColorNode { value } => - text.append(&format!("{value:?}"), 0., Default::default()), + text.append(&format!("{}", Formatter::from(translator, &value)), + 0., Default::default()), | BasicValue::ColorEdge { value } => - text.append(&format!("{value:?}"), 0., Default::default()), + text.append(&format!("{}", Formatter::from(translator, &value)), + 0., Default::default()), | BasicValue::Environment { value } => text.append( &format!("{}", Formatter::from(translator, &value)), 0.,