pub fn register_node(&mut self, entity: impl Into<Entity>) {
        let entity = entity.into();
        self.children.insert(entity, vec![]);
        self.parent.insert(entity, None);
    }
/// Registers a new entity `entity` as node.
Registers a new entity `entity` as node.
Registers a new entity ` entity ` as node .
pub fn register_node(&mut self, entity: impl Into<Entity>) {
        let entity = entity.into();
        self.children.insert(entity, vec![]);
        self.parent.insert(entity, None);
    }
pub fn register_node ( & mut self , entity : impl Into < Entity > ) { let entity = entity . into ( ) ; self . children . insert ( entity , vec ! [ ] ) ; self . parent . insert ( entity , None ) ; }
Registers a new entity `entity` as node.
Registers a new entity ` entity ` as node .
&mut self
entity
impl Into<Entity>