Tilemap Transform Matrix in Shader Graph

Hi,

In code, I can get the Transform Matrix of a tile easily with Tilemap.GetTransformMatrix to work out if it has been flipped, rotated, etc.

How can I do this in Shader Graph while rendering the tile? The Transformation Matrix Node always seems to return the identity matrix whether it is rendering a flipped tile or not.
https://docs.unity3d.com/Packages/com.unity.shadergraph@6.9/manual/Transformation-Matrix-Node.html

Thank you,
James