This task is about a algo graph. For diagram, see T1632.
https://aws.amazon.com/neptune/ offers a use case for a graph representation of a network.
The idea is to use RDF triplets to represent relationship between hosts, files, ports, apps, and query it from an graph database server.