{% if "right" in tables and "columns" in tables["right"] %}
{% for col in tables["right"]["columns"] -%}
{{ col.get("label", col["name"]) if isinstance(col, dict) else col }}
{% endfor %}
{% endif %}
{% if "right" in tables and "columns" in tables["right"] and "data" in tables["right"] %}
{% for edge in tables["right"]["data"] if edge["direction"] == "out" -%}
{% for col in tables["right"]["columns"] -%}
{{ edge[col["name"] if isinstance(col, dict) else col] }}
{% endfor %}
{% endfor %}
{% endif %}
{% if "right" in tables and "columns" in tables["right"] %}
{% for col in tables["right"]["columns"] -%}
{{ col.get("label", col["name"]) if isinstance(col, dict) else col }}