Spatially-informative linear cartograms using least squares adjustment.
One line per edge, four tokens per line, separated by whitespace.
- Node id
- Node id
- Ideal x difference
- Ideal y difference
Node IDs must be integer, but need not be consecutive.
One line per node, three tokens per line, separated by whitespace.
- Node id as it occurs in the input
- x position
- y position.
Draws the network in an Ipe file. Select using --ipe
.
Go from the raw input to the raw output.
cat example/example.in | python3 linca/linca.py
Draw as an Ipe file.
cat example/example.in | python3 linca/linca.py --scale=32 --ipe > example.ipe