Draw Vertical and horizontal lines inside the node

I am using Absolute positioning to draw my nodes.
I need to draw horizontal and vertical lines inside the nodes.
Is there any best way to do this?
Suppose I need to draw a vertical line in the middle of a rectangular node.

You can add an additional Shape to your Node, or you can create a custom geometry.

For absolute positioning panels, you want a “Position” Panel. See: http://gojs.net/latest/intro/panels.html

For creating custom geometries: http://gojs.net/latest/intro/geometry.html

It worked by adding a shape inside the Node
Thanks Simon