def create_text_block(
        self,
        text_block_data,
        text_block_absolute_midtop,
    ):
        """Instantiate, build visuals and insert new node.

        text_block_data (dict)
            instance data for text block.
        text_block_absolute_midtop (2-tuple of integers)
            represents the midtop position of the node on
            the screen.
        """
        ### instantiate text block

        text_block = TextBlock(text_block_data, text_block_absolute_midtop)

        ### insert it in the data
        self.insert_text_block(text_block)
Instantiate, build visuals and insert new node.

        text_block_data (dict)
            instance data for text block.
        text_block_absolute_midtop (2-tuple of integers)
            represents the midtop position of the node on
            the screen.
        
nodezator/graphman/editlogic.py