def create_node_id_text(self):
        """Create text object to representing node's id.

        It won't be positioned yet, just created for now.
        """
        ### instantiate

        self.id_text_obj = Object2D.from_surface(
            render_text(
                ### use node id as the text
                text=" {} ".format(self.id),
                # font settings (note that we use the
                # foot width as the max width)
                font_height=FONT_HEIGHT,
                foreground_color=NODE_TITLE,
                background_color=self.category_color,
                border_thickness=1,
                border_color=BLACK,
                max_width=self.foot.rect.width,
            )
        )
Create text object to representing node's id.

        It won't be positioned yet, just created for now.
        
nodezator/graphman/callablenode/vizprep/main.py