In our project we are using different nodes. We are using Gojs link property to link our nodes.
issue:
The links are shown over the nodes.Is there any way to put links below the nodes. We want straight lines so we want to avoid using “routing: go.Link.AvoidsNodes”.
Are you using go-debug.js? If so you would have seen an error message in the console about “layerName” not being a property of Shape.
The property is Part.layerName, so you have to put the BInding on the Link, not on the Shape.
And this assumes that you want a BInding at all. Most people just set { layerName: "Background" }, although it’s perfectly reasonable to have a BInding to the data property data.Background. You would then need to set the “Background” property on your link data objects to be the name of the Layer that you want the Link to be in.