Complete graph version