Skip to content

Directed wiki exports omit incoming relationships and their audit evidence #5369

Closed

Description

@sdivyanshu90

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

  1. github-actions commented on Nov 21, 2026

    @github-actions

    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.

  2. added a commit that references this issue on Nov 23, 2026
    31e86d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions