[#79107626] Creates the debug graph visitor

it's not the good way to check there is a matrix, you should use accessors, or check type.
look into MatrixTransform node there is an accessor getMatrix