Directed acyclic graphs with modern Fortran
