From d1be9e753e5b19fa9c8ceaef05a83ee61e068651 Mon Sep 17 00:00:00 2001 From: Ellen Emilia Anna Zscheile Date: Fri, 14 Feb 2025 20:47:08 +0100 Subject: [PATCH] fix(layout): rename center_of_high_level_node -> center_of_compoundless_node --- src/layout/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/layout.rs b/src/layout/layout.rs index 15f3c1d..d56e9e9 100644 --- a/src/layout/layout.rs +++ b/src/layout/layout.rs @@ -344,8 +344,8 @@ impl Layout { } } - /// Checks if a node is "high-level", and if yes, returns its center - pub fn center_of_high_level_node(&self, node: NodeIndex) -> Option { + /// Checks if a node is not a primitive part of a compound, and if yes, returns its center + pub fn center_of_compoundless_node(&self, node: NodeIndex) -> Option { match node { NodeIndex::Primitive(primitive) => { if self