def remove_text_block(
        self,
        text_block,
    ):
        """Remove given text block.

        text_block (graphman.textblock.main.TextBlock obj)
        """
        ### remove text block instance from the text block
        ### list and text block data
        APP_REFS.gm.remove_text_block(text_block)
Remove given text block.

        text_block (graphman.textblock.main.TextBlock obj)
        
nodezator/editing/objinsert.py