Basic network graph builder