|   | 1 |  initial version  | 
If OGDF is fast, since it is free software (GPL), it might be worth interfacing it with Sage. You can have a look at https://doc.sagemath.org/html/en/thematic_tutorials/cython_interface.html
|   | 2 |  No.2 Revision  | 
If OGDF is fast, fast enough for your needs, since it is free software (GPL), it might be worth interfacing it with Sage. You can have a look at https://doc.sagemath.org/html/en/thematic_tutorials/cython_interface.html
|   | 3 |  No.3 Revision  | 
If OGDF is fast enough for your needs, since it is free software (GPL), it might be worth interfacing it with Sage. You can have a look at https://doc.sagemath.org/html/en/thematic_tutorials/cython_interface.html
EDIT : there even seems to be Python bindings : https://github.com/n-coder/ogdf-python
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.