{% import "partials/fields.html" as f %} {% import "partials/icons.html" as ic %} {# One condition, rendered recursively. A composition draws as an operator pill above a bracketed list of children; a leaf draws as `subject -> target | metric | rule value`, which is the reading that makes a trigger legible on the canvas at a glance. #} {% macro render(node, draft, selected, document) %} {%- set spec = get_condition_spec(node.type) -%} {% if spec and spec.kind in ('composite', 'wrapper') %}