Skip to content

[Story] Dependency graph with correct numbers and a usable view #85

In review

Description

@aMonteSl

As a developer, I want the dependency graph and its folder cards to show correct, stable relationships, so that I can trust what fan-in, fan-out and cycles tell me.

Findings: DEPGRAPH-1, 2, 3, 4, 5, 6, 8, 10, 11 (+ LIFECYCLE-12).

Acceptance criteria

  • Folder metrics are computed on the folder (edges leaving or entering it), not summed per file. "Cycle" is defined and documented.
  • Unresolved calls (this, constructor, built-ins, local definitions) are not reported as external packages. import type and Python relative imports resolve correctly.
  • Relative imports resolve against the importing file's folder, and results do not depend on PYTHONHASHSEED.
  • The shared state always carries the dataset URL and the scope together (reload, late joiner, collaborator).
  • A real render budget applies, with a visible notice when the view is reduced. The force-3d layout actually uses edges.
  • No Web Worker or Blob URL leaks on each entry, and the worker has an error handler.
  • The file-scope cache is invalidated on re-analysis, and file names that differ only in case get different node ids.

Part of #72. Evidence: docs/xr-audit/depgraph.md (#67).

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    tfm
    user-story
    area: python-backend
    area: xr-scene
    stream: xr-bugfix-1.2.1
    on Nov 25, 2026
  3. added a commit that references this issue on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: python-backendarea: xr-scenestream: xr-bugfix-1.2.1tfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions