News for hackers. Stuff that matters.
Re:Show HN: Create a Skill Tree to Track Your Learning Progress by zakgreant on Thursday October 13, 2022 @08:46AM (#33190241)
Neat! If you're not familiar with DOT <https://en.wikipedia.org/wiki/DOT_(graph_description_languag...>, you might find it interesting.

For example, your sample skill tree would just be something like this:

  digraph {
    "skill A1" -> "skill A2" -> "skill A3" -> "skill A4"
    "skill B1" -> "skill B2" -> "skill B3" -> "skill B4"
  }
There's a JS-based playground for DOT (and various other graph description languages) at https://rsms.me/graphviz/
Re:Show HN: Create a Skill Tree to Track Your Learning Progress by strikingloo on Thursday October 13, 2022 @01:45PM (#33194237)
Oh, I had used a program that used the DOT syntax without knowing that was its name. GraphViz was its name I think, but I may be wrong.

Thank you!

Re:Show HN: Create a Skill Tree to Track Your Learning Progress by strikingloo on Friday October 14, 2022 @02:50PM (#33207379)
Update. Even though I didn't use the DOT syntax exactly, I added some syntactic improvements so that expressinga more complex dependency graph is easier. Now it allows for edges specified as {1,2,3} {4,5,6} (skills 4, 5 and 6 all depend on 1, 2 and 3), and the levels now can be expressed as 1 {skill 1, skill 2, skill 3}