added the complete tripartie graph