You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Directed wiki exports omit incoming relationships and their audit evidence #5369
Directed wiki exports omit incoming connections from god-node pages, community relationships and audit totals. A community can show 100% extracted evidence while an incoming ambiguous edge is present.
Reproduction
With Graphify 0.9.114 and Python 3.14, pass a directed NetworkX graph to to_wiki. Give hub one incoming AMBIGUOUS calls edge from caller and one outgoing EXTRACTED references edge to target. Put the hub in one community and the other nodes in another. Include the hub in god_nodes_data.
The hub page reports two connections but lists only the outgoing neighbor. Its community reports one shared connection and zero ambiguous edges. Both relationships should be visible and the audit should report one ambiguous and one extracted edge.
Cause and fix
DiGraph.neighbors() and DiGraph.edges(nodes) only visit outgoing connections, whereas the degree in the page header counts both directions. Enumerate incident edges in both directions, count internal edges once per audit and keep distinct reciprocal and parallel edges.
Activity
github-actions commentedon Nov 21, 2026
Thanks for opening this issue, @sdivyanshu90. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(wiki): include incoming edges in directed exports
fix(wiki): link article bodies by ID
fix(obsidian): include incoming edges in node summaries