fix(layout): rename center_of_high_level_node -> center_of_compoundless_node

This commit is contained in:
Ellen Emilia Anna Zscheile 2025-02-14 20:47:08 +01:00
parent 41468d51c3
commit d1be9e753e
1 changed files with 2 additions and 2 deletions

View File

@ -344,8 +344,8 @@ impl<R: AccessRules> Layout<R> {
} }
} }
/// Checks if a node is "high-level", and if yes, returns its center /// Checks if a node is not a primitive part of a compound, and if yes, returns its center
pub fn center_of_high_level_node(&self, node: NodeIndex) -> Option<Point> { pub fn center_of_compoundless_node(&self, node: NodeIndex) -> Option<Point> {
match node { match node {
NodeIndex::Primitive(primitive) => { NodeIndex::Primitive(primitive) => {
if self if self