{% macro render_node(node, work_item_id) %}
{{ node.kind }} {% if not node.is_root %} {{ node.resolution_source_label }} {% endif %}

{% if node.href %} {{ node.display_label }} {% else %} {{ node.display_label }} {% endif %}

{{ node.entity_id }}
{% if node.allowed_child_kinds %}
{% for action in node.allowed_child_kinds %} {% endfor %}
{% endif %}
{% if node.children %}
{% for child in node.children %} {{ render_node(child, work_item_id) }} {% endfor %}
{% elif node.is_container %}
No captured children yet.
{% endif %}
{% endmacro %}