2022-05-02 12:06:33 +07:00
|
|
|
<script
|
|
|
|
src="https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js"
|
|
|
|
integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI="
|
|
|
|
crossorigin="anonymous"
|
|
|
|
></script>
|
2022-08-24 10:32:40 +07:00
|
|
|
<h3>{{ i18n "interactive_graph" }}</h3>
|
2021-07-18 20:35:42 +07:00
|
|
|
<div id="graph-container"></div>
|
|
|
|
<style>
|
2022-05-02 12:06:33 +07:00
|
|
|
:root {
|
|
|
|
--g-node: var(--secondary);
|
|
|
|
--g-node-active: var(--primary);
|
|
|
|
--g-node-inactive: var(--visited);
|
|
|
|
--g-link: var(--outlinegray);
|
|
|
|
--g-link-active: #5a7282;
|
|
|
|
}
|
2021-07-18 20:35:42 +07:00
|
|
|
</style>
|
2022-03-04 09:07:51 +07:00
|
|
|
{{ $js := resources.Get "js/graph.js" | resources.Fingerprint "md5" }}
|
|
|
|
<script src="{{ $js.Permalink }}"></script>
|