graph expansion at server side