Automatically drawing curved metro maps