Added clustering algorithm for stream graph.