# translating between measurement based and circuit based quantum computation

I think I understand circuit based QC (CBQC) well enough; I know very little about MBQC. From what I read it seems that they are somehow "equivalent". I'd like to check this with a concrete example from QECC. I can find circuits to encode/decode a stabilizer code; we can take the perfect $$[[5,1,3]]$$ code as an example https://www.cgranade.com/python-quaec/. How would I translate these circuits to MBQC counterparts?