Mirror of Graph::Layout::Aesthetic with fixes for newer compilers