Custom node draw pipe

Hello everyone,

I am not understanding why custom node is not working.

When i do without custom node, it works fine.

This is my custom node.

This is the output show when i do with custom node and its not working.