prepare vue_visgraph component, with store, dataset and display basic graph

This commit is contained in:
2021-10-18 15:47:57 +02:00
parent 8be11314c3
commit 1b0c19a68f
11 changed files with 250 additions and 59 deletions

View File

@@ -4,24 +4,22 @@
{% block content %}
<h1>{{ block('title') }}</h1>
<div id="graph-relationship"></div>
{% for m in household.members %}
{% if m.endDate is null %}
{{ dump(m) }}
{% endif %}
{% endfor %}
<div id="relationship-graph"
data-persons="{{ persons|e('html_attr') }}">
</div>
{#
{{ dump() }}
#}
{% endblock %}
{% block js %}
{{ parent() }}
{{ encore_entry_script_tags('page_vis') }}
{% endblock %}
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('page_vis') }}
{% endblock %}
{% block block_post_menu %}{% endblock %}
{% block js %}
{{ encore_entry_script_tags('vue_visgraph') }}
{% endblock %}
{% block css %}
{{ encore_entry_link_tags('vue_visgraph') }}
{% endblock %}