refine ui, use random for graph directive. 2.0.2