How to use Scene Depth node in ShaderGraph ?

I’m trying to make a shader that can detect geometry intersection with other objects. I read a lot of solutions using shader code but I want to make it in ShaderGraph,

As far as I understand, you can achieve this effect by comparing each vertex with the depth buffer.
Any more details or explanations is very appreciated.
Scene Depth node
Can it be done in ShaderGraph using the Scene Depth node?
Scene Depth node’s documentation

Running on Unity 2019.2.0a7 with a LWRP project, the shader graph version is 5.2.3, and this is the setup that gives depth based on the distance between the objects:

A tutorial that I made to achieve the intersection effect from this: