1 | initial version |
Entering digraphs.nauty_directg??
into a SageMath session will show you the source code of the function.
In this case it simply calls an external program directg
which is part of nauty.
You can download and edit that program's source code, compile your new version, and call that one instead.
To edit the source code you should start by looking at the file directg.c
. Good luck!