metrics for the graph visualitzation