general graph base