Skip to content

Add dependency graph visualizer and editor#192

Open
VEZY wants to merge 38 commits intomainfrom
graph-visualization
Open

Add dependency graph visualizer and editor#192
VEZY wants to merge 38 commits intomainfrom
graph-visualization

Conversation

@VEZY
Copy link
Copy Markdown
Member

@VEZY VEZY commented Apr 28, 2026

Summary

  • Add a Julia dependency graph view IR with JSON and standalone HTML export.
  • Expose model nodes, ports, edge metadata, cycle diagnostics, and a first PreviousTimeStep edit.
  • Scaffold a React Flow + ELK frontend for the interactive graph viewer/editor.
  • Cover the new graph view and edit path with unit tests.

Testing

  • Added and ran unit tests for the dependency graph view, multiscale edges, HTML export, and the first edit-back operation.
  • Ran the full Julia test suite successfully.
  • Built and typechecked the frontend successfully with Vite and TypeScript.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2026

Benchmark Results (Julia v1)

Time benchmarks
main 3cd60b5... main / 3cd60b5...
bench_linux/PBP 16.5 ± 2.5 ms 18 ± 2.6 ms 0.916 ± 0.19
bench_linux/PBP_multiple_timesteps_MT 0.257 ± 0.061 s 0.27 ± 0.061 s 0.952 ± 0.31
bench_linux/PBP_multiple_timesteps_ST 0.238 ± 0.018 s 0.239 ± 0.018 s 0.994 ± 0.11
bench_linux/PSE 5.22 s 5.07 s 1.03
bench_linux/PSE_multirate_output_request_run 8.27 s 7.93 s 1.04
bench_linux/PSE_multirate_status_tracked_run 4.36 ± 0.25 s 4.28 ± 0.36 s 1.02 ± 0.1
bench_linux/XPalm_convert_outputs 0.891 ± 0.034 s 0.974 ± 0.049 s 0.915 ± 0.057
bench_linux/XPalm_run 12.5 s 11.7 s 1.07
bench_linux/XPalm_setup 0.952 ± 0.13 s 0.965 ± 0.14 s 0.987 ± 0.19
time_to_load 2.17 ± 0.0064 s 2.16 ± 0.007 s 1 ± 0.0044
Memory benchmarks
main 3cd60b5... main / 3cd60b5...
bench_linux/PBP 0.12 M allocs: 7.2 MB 0.131 M allocs: 8.11 MB 0.888
bench_linux/PBP_multiple_timesteps_MT 3.73 M allocs: 0.237 GB 3.73 M allocs: 0.237 GB 1
bench_linux/PBP_multiple_timesteps_ST 3.58 M allocs: 0.213 GB 3.58 M allocs: 0.213 GB 1
bench_linux/PSE 0.0499 G allocs: 3.7 GB 0.0498 G allocs: 3.69 GB 1
bench_linux/PSE_multirate_output_request_run 0.0851 G allocs: 3.5 GB 0.0851 G allocs: 3.5 GB 1
bench_linux/PSE_multirate_status_tracked_run 0.0607 G allocs: 1.93 GB 0.0607 G allocs: 1.93 GB 1
bench_linux/XPalm_convert_outputs 6.62 M allocs: 0.436 GB 6.62 M allocs: 0.436 GB 1
bench_linux/XPalm_run 0.105 G allocs: 6.72 GB 0.104 G allocs: 6.68 GB 1.01
bench_linux/XPalm_setup 0.305 M allocs: 16.3 MB 0.518 M allocs: 26.5 MB 0.617
time_to_load 0.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

@VEZY VEZY changed the title Add dependency graph visualizer and editor scaffold Add dependency graph visualizer and editor May 7, 2026
@VEZY VEZY marked this pull request as ready for review May 7, 2026 08:07
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