Complex network simulation