How to generate graphs with RMAT?

How do you generate giant graphs with arguments such as number of nodes and number of edges?

We use this tool to generate the RMAT graph: