Fix generation of graphs where top-level headline has no backlines.

This commit is contained in:
Sergio Martínez Portela 2023-06-18 23:24:33 +02:00
parent 960a3693d3
commit da20c14ae7

View File

@ -705,9 +705,6 @@ def render_toc_headline(headline, acc):
def render_connections(headline_id, content, graph): def render_connections(headline_id, content, graph):
if headline_id not in graph['backlinks']:
return
# if headline_id != 'aa29be89-70e7-4465-91ed-361cf0ce62f2': # if headline_id != 'aa29be89-70e7-4465-91ed-361cf0ce62f2':
# return # return