Avoid use std and use std::fmt and fmt:: instead in network_graph