Unlit Shader Graph with shadows

I’m using LWRP, I was searching for Shader Graph examples. I know Shader Graph recently introduced the custom function node so maybe I can use that.

I found this for 2019.3.0b4 so maybe I’ll have to upgrade.