Now with visible bridges.
This commit is contained in:
parent
d5c599c160
commit
6b86da3b51
2 changed files with 18 additions and 15 deletions
|
|
@ -49,14 +49,17 @@
|
|||
|
||||
var get_span_path = "{{ url_for('.get_span') }}";
|
||||
var docs = {{ docs | tojson }};
|
||||
var link_count = {{ link_count | tojson }};
|
||||
|
||||
$(function() {
|
||||
size_svg();
|
||||
$(window).resize(size_svg);
|
||||
reset(); // clear all documents and bridges
|
||||
docs.forEach((doc, index) => {
|
||||
fulfil(doc, index, docs.length, {{ link_count | tojson }});
|
||||
fulfil(doc, index, docs.length);
|
||||
create_bridges(link_count);
|
||||
});
|
||||
update();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue