Skip to content

Update NetGraph integration and Superset setup - #1

Open
networmix wants to merge 1 commit into
mainfrom
superset-workspace-setup
Open

networmix wants to merge 1 commit into
mainfrom
superset-workspace-setup

Conversation

@networmix

Copy link
Copy Markdown
Owner

Align NetLab 0.4.0 with current NetGraph scenarios and results, and add isolated Superset workspace setup. Fix directional BAC and iteration plots, regenerate simulation fixtures, and simplify documentation.

Validation:

  • Local-source integration gate: 432 tests passed, including five CLI → TopoGen → NetGraph → metrics pipelines; source fingerprints stayed unchanged.
  • Ruff passed; Pyright reported zero errors and one existing CairoSVG stub warning.
  • Built and validated the wheel; package and runtime versions match 0.4.0.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T15:36:53.716758Z 7a98549 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7a98549dcc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread netlab/visualize.py
# Handle both 'edges' and 'links' keys for compatibility
edges_key = "edges" if "edges" in graph_data else "links"
graph = nx.node_link_graph(graph_data, edges=edges_key)
graph = nx.node_link_graph(graph_data, edges="edges")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve support for node-link graphs using links

Keep selecting the edge key from the serialized graph instead of hard-coding edges. When from_results() loads an existing BuildGraph result whose node-link payload stores its edge list under links—a format this method explicitly supported before this change—nx.node_link_graph(..., edges="edges") looks for a nonexistent key and visualization fails rather than loading the graph. The repository's DC-BB result handling also continues to accept both links and edges, so removing the fallback here makes the visualization path inconsistent.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant