pub fn new(block: Block) -> Self {
        let mut graph = Self {
            blocks: FnvHashMap::default(),
            block_ids: Vec::new(),
            entry: block.id,
            exit: block.id,
        };

        graph.block_ids.push(block.id);
        graph.blocks.insert(block.id, block);
        graph
    }
/// Create a `NodeGraph` with the given initial block
Create a `NodeGraph` with the given initial block
Create a ` NodeGraph ` with the given initial block
pub fn new(block: Block) -> Self {
        let mut graph = Self {
            blocks: FnvHashMap::default(),
            block_ids: Vec::new(),
            entry: block.id,
            exit: block.id,
        };
        graph.block_ids.push(block.id);
        graph.blocks.insert(block.id, block);
        graph
    }
pub fn new ( block : Block ) -> Self { let mut graph = Self { blocks : FnvHashMap :: default ( ) , block_ids : Vec :: new ( ) , entry : block . id , exit : block . id , } ; graph . block_ids . push ( block . id ) ; graph . blocks . insert ( block . id , block ) ; graph }
Create a `NodeGraph` with the given initial block
Create a ` NodeGraph ` with the given initial block
block
Block