MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / _is_internal_control_node

Function _is_internal_control_node

masfactory/visualizer/runtime_hooks.py:52–56  ·  view source on GitHub ↗
(node: object)

Source from the content-addressed store, hash-verified

50
51
52def _is_internal_control_node(node: object) -> bool:
53 name = node.name
54 if name in ("entry", "exit"):
55 return True
56 return name.endswith(("_entry", "_exit", "_controller", "_terminate"))
57
58
59class _Preview:

Callers 2

before_executeMethod · 0.85
after_executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected