7:from ..model import ActionType
178:        actions = [a for a in state.actions if a.type != ActionType.INTERNAL or a.body]
179:        if actions:
180:            for action in actions:
330:        if action.type == ActionType.INTERNAL:
----
10:from ..model import ActionType
267:        entry/exit actions embed an HTML TABLE (``border="0"``) inside the native
268:        shape to render UML-style compartments (name + separator + actions).
270:        actions = [a for a in state.actions if a.type != ActionType.INTERNAL or a.body]
274:        if not actions:
288:            # State with actions: native shape + HTML TABLE label (border=0).
291:            label = self._build_html_table_label(state, actions)
310:        actions: List[DiagramAction],
312:        """Build an HTML TABLE label with UML compartments (name | actions).
323:            for a in actions
340:        if action.type == ActionType.INTERNAL:
420:        actions = [a for a in state.actions if a.type != ActionType.INTERNAL or a.body]
421:        if not actions:
425:        for action in actions:
----
