Add ranking for graphx