language icon indicating copy to clipboard operation
language copied to clipboard

feat: assign weights in graph

Open miparnisari opened this issue 5 months ago • 3 comments

Description

This is the scaffolding code required to compute weights for each node and edge. It's not meant to support every kind of model - more followup PRs will come. (For example, models with cycles are not handled).

Please review each model in the weighted_graph_builder_test.go and visualize the output in https://dreampuf.github.io/GraphvizOnline/. This will help you review the correctness of the weight assignment algorithm.

Example

image

miparnisari avatar Sep 18 '24 05:09 miparnisari