general graph support