pub fn add_cell(
        &mut self,
        id: ast::Id,
        comp: &component::Component,
        cell: ast::Cell,
    ) -> NodeIndex {
        let node = Node {
            name: id,
            data: NodeData::Cell(cell),
            signature: comp.signature.clone(),
        };
        self.add_node(node)
    }
/// Adds a cell node to the structure graph.
///
/// # Arguments
///   * `id` - the subcomponent identifier
///   * `comp` - the component object
///   * `cell` - TODO
Adds a cell node to the structure graph.
Adds a cell node to the structure graph .
pub fn add_cell(
        &mut self,
        id: ast::Id,
        comp: &component::Component,
        cell: ast::Cell,
    ) -> NodeIndex {
        let node = Node {
            name: id,
            data: NodeData::Cell(cell),
            signature: comp.signature.clone(),
        };
        self.add_node(node)
    }
pub fn add_cell ( & mut self , id : ast :: Id , comp : & component :: Component , cell : ast :: Cell , ) -> NodeIndex { let node = Node { name : id , data : NodeData :: Cell ( cell ) , signature : comp . signature . clone ( ) , } ; self . add_node ( node ) }
Adds a cell node to the structure graph.
Adds a cell node to the structure graph .
&mut self
id
ast::Id
comp
&component::Component
cell
ast::Cell