OSPF way: from LSA to graph

It’s not a secret that OSPF is a link-state routing protocol: it collects topology information, builds a graph and runs Dijkstra algorithm…