KongMing database for simple graph