Geometry nodes: edge offset

Hey guys, anyone help?
I want to scal the planes keeping the X value equal. Just like in the picture.

It didn’t work with normals.

I tried and finally succeeded, but it turned out like spaghetti. I think there is an easier way.

Check this node-group:

Good luck

Simpler but harder solution would be to calculate vertex angle from its neighbor vertices (using face corners) and use it to scale the directional vector.

The limitation with this setup that it only works on faces that are not connected

Also thanks to @zeroskilz for showing the better scaling formula

face_offset.blend (118.4 KB)

Thanks a lot. This is exactly what I was looking for.
I’m trying to make a city, and this is supposed to be a grid of its streets.