News for hackers. Stuff that matters.
Re:A Canadian payroll dependency chart by nampas on Tuesday January 02, 2024 @11:41AM (#38843609)
That's funny, I made something similar a few years ago for the IRS

https://nampas.github.io/tax-map/

Re:A Canadian payroll dependency chart by mmsc on Tuesday January 02, 2024 @12:16PM (#38844071)
Very very cool. Is there a word for a directional graph in this circular form? Also, is every edge unidirectional, or are there some bidirectional edges? I would hope (and assume) there's nothing bidirectional, but...
Re:A Canadian payroll dependency chart by chipaca on Tuesday January 02, 2024 @12:25PM (#38844186)
From the looks of it that's been generated by `circo`, which is part of GraphViz and describes itself as a “filter for circular layout of graphs” and

       circo  draws graphs using a circular layout (see Six and Tollis, GD '99
       and ALENEX '99, and Kaufmann and Wiese, GD '02.)  The  tool  identifies
       biconnected  components  and draws the nodes of the component on a cir‐
       cle. The block‐cutpoint tree is then laid out using a recursive  radial
       algorithm.  Edge  crossings within a circle are minimized by placing as
       many edges on the circle's perimeter as possible.   In  particular,  if
       the  component is outerplanar, the component will have a planar layout.
       If a node belongs to multiple non‐trivial biconnected  components,  the
       layout puts the node in one of them. By default, this is the first non‐
       trivial component found in the search from the root component.
Re:A Canadian payroll dependency chart by mmsc on Tuesday January 02, 2024 @12:31PM (#38844261)
Doing a bit more digging, it's using cytoscape[0] which is similar to graphviz. If you search your favorite search engine with "Cytoscape Session Viewer", you'll find many websites displaying the same type of graphs (select layout: circle).

FYI, circo doesn't always output a circle. I recently created https://github.com/MegaManSec/SSH-Snake/blob/main/tools/SSH-... using circo.

[0] https://cytoscape.org/

Re:A Canadian payroll dependency chart by Pathogen-David on Tuesday January 02, 2024 @12:28PM (#38844227)
You can generate them using Graphviz's circo layout engine. https://graphviz.org/docs/layouts/circo/

According to them/Wikipedia, the layout's name is simply "circular layout". https://en.wikipedia.org/wiki/Circular_layout

Re:A Canadian payroll dependency chart by tantalor on Tuesday January 02, 2024 @11:43AM (#38843636)
This is the worst version of Planarity I've ever seen, congrats.
Re:A Canadian payroll dependency chart by fragmede on Tuesday January 02, 2024 @02:50PM (#38846189)
For those that haven't played it, Planarity is a graph untangling game.

https://www.jasondavies.com/planarity/

Re:A Canadian payroll dependency chart by tantalor on Wednesday January 03, 2024 @10:31AM (#38855212)
This version is really good
Re:A Canadian payroll dependency chart by mp05 on Tuesday January 02, 2024 @11:51AM (#38843742)
Dear lord, that's frightening.
Re:A Canadian payroll dependency chart by tamimio on Tuesday January 02, 2024 @07:38PM (#38849202)
Yet the economy is in debt with trillions