I’d forgotten the wonders of the CPN Tools source. There’s fairly general and not too horrid code for aligning things wrt. other things. This is not used when new things are created, though; instead a copy of the code in another file is used instead. Why? Because FUCK YOU!