How Graphviz thinks the USA is laid out (2021)
shitpost.plover.com
shitpost.plover.com
Kudos for actually bothering to publish the damn thing. Many people (myself likely included) would have spent hours agonizing over minute unimportant details and ultimately never actually get it out the door.
Sometimes one just wants to do the 80% of the effort and be done with it.
Even if you have lost interest, there are more civil ways to close a text.
Laziness: The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful and document what you wrote so you don't have to answer so many questions about it.
Impatience: The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but actually anticipate them. Or at least pretend to.
Hubris: The quality that makes you write (and maintain) programs that other people won't want to say bad things about."
[0] https://web.archive.org/web/20150205083209/http://threevirtu... [1]
[1] NB that threevirtues.com, in this late year, has been taken over by some sort of sea salt seller
He should start a recipe blog.
How Graphviz thinks the USA is laid out - https://news.ycombinator.com/item?id=25611053 - Jan 2021 (80 comments)
How Graphviz thinks the USA is laid out - https://news.ycombinator.com/item?id=25604462 - Jan 2021 (4 comments)
I realize that this might be fundamentally difficult problem, but it just feels odd that there hasn't been much improvement in this area.
There may be better methods by now - it would be a good intern project to look at that.
It would be a good idea to simply take the state centroids as an initial placement and onyl run the overlap removal phase.
In edge routing, we were really impressed with the "repulsive curve" work by Keenan Crane at CMU, https://www.cs.cmu.edu/~kmcrane/Projects/RepulsiveCurves/ind... - scroll halfway down for the graph layout examples.
[1] https://rjp.frottage.org/codeblog/tubemap_20041203_1745.html
Beats me. I just ran the Perl to convert the list of tubes to the neato format and it made them both green. Maybe I generated the images and then later fixed a bug in the generation? I could probably check but I'd have to resurrect Trac from 18 years ago and ... uh.
(See also EastCote and Eastcote on the map where there's now only EastCote in the data file.)
[ Note: this is where I lost interest and stopped writing. ]
I think most tube maps are hand-arranged, perhaps with some algorithmic help, but oftentimes you also have to fit a specific aspect ratio or shape (because the greater metropolitan area is also shown on the map, along with fare zones), which I don't think any algorithm currently does well. And the manual approach can result in niceties like the actual circle around the city center here: https://www.rsag-online.de/fahrplan/liniennetzplaene
[1] https://www.yworks.com/blog/automatic-metro-map-generation
I've also flown over Labrador, and would never say "I've been to Labrador" as a result. While I have also visited Indiana, I have travelled through it by rail or car much more often, between Chicago and Michgan. If I had only done this, I would probably say "well, technically I've been to Indiana, but I drove right through it".
Leading me to the "boots on the ground" theory of visitation: a place has been visited if your feet/footware make firm contact with the ground, or an object anchored to the ground in a durable fashion.
At Four Corners, it's quite possible to step directly from New Mexico to Utah, and from Arizona to Colorado, without setting foot in the other two states in the quadrant.
At most, you fly over Arizona and Colorado, on the way from New Mexico to Utah. As we've established, flying over a place is not a visitation.
Which brings us to the fun part! Every tourist who visits four corners walks a circle around the States. Only some, and most children, do the jumps!
If you don't do the jumps you can't say "I've been to Utah straight from New Mexico", which is too bad, since that and its dual are the only topologically interesting part about Four Corners! The other pairings share long borders.
Also, Monument Valley is breathtaking. Truly a wonder of the world.
Unfortunately, I was not able to generate something readable.
1. I see it thinks Hawaii is effectively in canada. I'm assuming this is because the default behavior for unlinked nodes is for them to end up near the top in empty space?
2. Why are there no edges connected to Arkansas as it is within the main continental US?
The border isn't on land; it's a nautical boundary-there's a line from just south of Stonington CT, running between Montauk Point (NY/L.I.) and Block Island (RI).