Graph clustering by flow simulation door