You’re welcome.
I forgot to add other (attached) properties that are commonly set on such “decorative” or “non-functional” objects:
go:Part.LayerName="Background"
go:Part.Selectable="False"
go:Part.LayoutId="None"
go:Part.InDocumentBounds="False"
go:Node.Avoidable="False"
You might not need to set some or all of these properties, depending on your app.
For example you might want to let users select those horizontal separator lines, or perhaps you have already disabled selection for the whole diagram or for the layer that they are in.
Or maybe there is no diagram layout, so you don’t need to tell the layouts that they should ignore those separator objects.
Or perhaps you want people to be able to scroll so they can see all of the separator lines, rather than just limiting the diagram bounds to the area covered by the “real” nodes and links and those numbers on the left side.
Or if there are no links that are “AvoidsNodes”, there is no need to set Avoidable=“False” to keep such links from crossing over those separator lines. (Apparently that is the case, so you don’t need to set this property.)