Readd CGraphz patch to CGP.js