Skip to content

Commit

Permalink
include induced edges in subgraph link for ref pages.
Browse files Browse the repository at this point in the history
This matches the actual graph generation rules for the static subgraph.
  • Loading branch information
thvitt committed May 10, 2019
1 parent 4f336a1 commit 80d6bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macrogen/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def _last_ref_subpage(self, DAY, ref):
report += self.format_table(self.rows[-1:])
report += f"""<object id="refgraph" class="refgraph" type="image/svg+xml" data="{basename.with_name(
basename.stem + '-graph.svg').name}"></object>
{_subgraph_link(ref, abs_dates=True, assertions=True, ignored=True)}\n"""
{_subgraph_link(ref, abs_dates=True, assertions=True, ignored=True, induced_edges=True)}\n"""
kinds = {'not_before': 'nicht vor',
'not_after': 'nicht nach',
'from_': 'von',
Expand Down

0 comments on commit 80d6bbe

Please sign in to comment.