nx-guides icon indicating copy to clipboard operation
nx-guides copied to clipboard

Issue on page /content/algorithms/dag/index.html

Open AniruddhMohan opened this issue 1 year ago • 2 comments

I came across 2 problems on the page:

  1. In this line in 'Step 3':

We process all the vertices of the current level in variable this_generation and we store the next level in variable zero_degree.

'zero_degree' should instead be 'zero_indegree'.

  1. The 'Suggest edit' link does not work on the page https://networkx.org/nx-guides/content/algorithms/dag/index.html It leads to the following: image

AniruddhMohan avatar Mar 04 '24 06:03 AniruddhMohan

Thanks for raising @AniruddhMohan ! The broken "edit this page" button is a known issue related to the use of symlinks.

If you'd like to take a stab at editing: https://github.com/networkx/nx-guides/blob/3533b8998753bfd38c30bab3d92708d79f7d638f/content/algorithms/dag/index.md?plain=1#L259

rossbar avatar Mar 05 '24 17:03 rossbar

Hi @rossbar , thanks for the pointer. I've raised a PR with the fix for the typo. https://github.com/networkx/nx-guides/pull/129

AniruddhMohan avatar Mar 09 '24 13:03 AniruddhMohan