How Graphviz thinks the USA is laid out
shitpost.plover.com
shitpost.plover.com
https://f000.backblazeb2.com/file/rjp-hosted-files/bigneatot...
(Also the linked graphviz file has FL only linked to GA - surely it should have AL as well since AL is linked to FL?)
> AL -- FL, GA, MS, TNhttps://www.reddit.com/r/MapPorn/comments/bg8e7v/united_stat...
here's an imgur link: https://imgur.com/a/MppJE4c
And this time I checked, it's accessible. Must have been a transitory glitch.
Thanks.
There seems to be some sort of issue with Twitter whereby the javascript to fetch/render the tweet doesn't fire if you open it in a background tab and then visit the tab.
Refreshing the page causes the javascript to correctly fire and the tweet is displayed. This is due to Twitter no longer pre-rendering the page server side, its all done client side.
Also makes it impossible to use Twitter from a browser with javascript disabled.
I do wonder though if the west coast wouldn't be better managed if the states were split up a bit more population wise like in the east.
https://en.wikipedia.org/wiki/Delaware_River#/media/File:Del...
When we are looking at a map of the US, they don’t draw the Delaware River. They do draw the Great Lakes.
This implies volume. Baikal doubles LS in this respect.
I don't think you can do that with Spain and Italy? To get from one to the other you'd have to go through French or Algerian waters I think.
And I might be agreeing with you; not sure here. Conversation went from rivers to lakes to "a coffee cup is the same as a donut" pretty quickly :)
Politically, since you can't walk from one to the other without crossing intervening political entities or relying on bulk transportation carriers, no.
Then again, same with Minnesota and Michigan.
I suspect with the right boat someone could row from Alaska to Texas. Though it would probably take a full year.
I have to imagine that going from Texas to New York along the coast would hit a state border somewhere around Louisiana.
So? They still have borders. Borders are a geopolitical construct (that is, decided by treates and politics), not a geographical.
They are merely informed/influenced by geography.
That's not how geopolitical borders work. A country's segments (e.g. states) could have borders between them, but that doesn't mean that each has border with each other.
They just all belong to the same entity (e.g. here, the US).
(And state borders != country borders).
There's also noun/verb confusion. A state has borders (noun). A state can border another (verb). State A has a border, state B has a border, and A borders B.
California has a border with International Waters. Hawaii is directly surrounded by International Waters. California does not border Hawaii, though both have borders and border International Waters.
"A country's segments (e.g. states) could have borders between them, but that doesn't mean that each has borders with each other."
Another commenter explained what I meant well, but here's my explanation:
The US might have a border with Canada, but doesn't mean that Colorado also has a border with Canada.
Similarly, Alaska and Hawaii might be part of the US, and thus their borders are the US borders too, but that doesn't mean e.g. Hawaii borders Nebraska.
Now borders might be on land or on water, but they're still borders. As long as another entity is not in between (e.g. Canada, as is the case between e.g. US and Alaska, or the Ocean between the US and Hawaii).
There is no not-US between Michigan and Minnesota.
What's the not-US between Hawaii and California?
Update: oops, I get it. The ocean itself. Never mind, move along, nothing to see here.
https://en.m.wikipedia.org/wiki/Geography_of_New_York_(state...
> New England is where it should be, but Vermont should be switched with Connecticut and Rhode Island.
NY -- PA, RI, VT
New York borders Connecticut, but not Rhode Island.Google maps shows a border.
https://www.google.com/maps/place/Long+Island+Sound/@41.3418...
The idea being that, to my knowledge, the state capitals are not in the middle always, thus leading to some form of distortion.
Average distance of all pairs of points in the two states (hm, maybe not. That could behave weirdly for states that aren’t very ‘compact’) or geometric mean of the fraction of a state’s border shared with the neighboring state would be fairer. Or maybe, the geometric mean of the fraction of the area of State S is closest to state T and the fraction of the area of state T that is closest to S?
Alternatively, make the states clusters, add all cities on highways as vertices, and use highways stretches between cities as edges.
It may help increasing the dimensions for Graphviz (I think its force-directed layout can work in up to 10 dimensions), but there's still a step involved that projects everything to 2D in the end, so it might still happen.
Yes, you can set NDim, https://graphviz.org/doc/info/attrs.html#d:dim I'm not sure why we said up to 10. It's hard to see even in 8 dimensional space!
In terms of drawing graphs of the U.S. states or data like that, it should be possible to, say, create a point at the centroid of every region, then connect the adjacent regions to form a mesh, then feed the mesh to neato with some options to relax the layout but retain the mesh. This is what the overlap removal algorithm does anyway. See https://www.graphviz.org/Documentation/GH10.pdf, at least the figures.
There's plenty of recent work that improves on some of the graphviz algorithms. It's a pity that without a convenient way to incorporate such inventions in a larger system, it tends to languish and not have as much impact or isn't easily available to people that could use it. Nocaj/Ortmann/Brandes work on untangling hairballs is another example: http://jgaa.info/accepted/recent/NocajOrtmannBrandes.pdf We even have this prototyped in a directory somewhere but it would be more work to merge it into the release.