graphview: change log level for link name

This commit is contained in:
Stéphane Cerveau 2023-09-11 11:28:03 +02:00
parent ea43d37589
commit 3689d4d57c

View file

@ -359,7 +359,7 @@ mod imp {
let from_node = nodes let from_node = nodes
.get(&node_from) .get(&node_from)
.unwrap_or_else(|| panic!("Unable to get node from {}", node_from)); .unwrap_or_else(|| (panic!("Unable to get node from {}", node_from)));
let from_port = from_node let from_port = from_node
.port(port_from) .port(port_from)
@ -452,7 +452,7 @@ mod imp {
if let Err(e) = link_cr.stroke() { if let Err(e) = link_cr.stroke() {
warn!("Failed to draw graphview links: {}", e); warn!("Failed to draw graphview links: {}", e);
}; };
warn!("the link name is {}", name); trace!("the link name is {}", name);
if !name.is_empty() { if !name.is_empty() {
let x = (point_from.x() + point_to.x()) / 2.0 + 20.0; let x = (point_from.x() + point_to.x()) / 2.0 + 20.0;
let y = (point_from.y() + point_to.y()) / 2.0 + 20.0; let y = (point_from.y() + point_to.y()) / 2.0 + 20.0;