general graph2