I’m very confused about how to create a bifurcation diagram of system with a codimension 2 bifurcation. Specificaly, I’m working with the following ODE:

`f[r_,CC_,d_] = (1 - ((d + 3 Sqrt[3] M)^2 (1 - (2 M)/(3 M + r)))/(3 M + r)^2) (1 + ((-3 + CC) M)/(-3 M + 2 (3 M + r))) `

Even though I’ve got curves in the spaces $ (CC \times r)$ and $ (d \times r)$ , I’d like to get the bifurcation curve in the space $ (CC \times d)$ . How could I plot this?