The Automated Design Of Network Graph Algorithms With Applications In Cybersecurity