I want to highlight hovered port that a link could be connected to on a given node. When you move cursor to Node and near Node appears a Port where you can connect this Link. By deafult this port is pink rectangle and I need to change styles of it.
Thought this might help someone. In addition to colouring the ports (like above), you can colour the line and arrowhead like this
tool.temporaryLink.elements.each((o: go.Shape) => {
if (o.toArrow) {
o.stroke = "red"; // this is for the line
o.strokeWidth = 1,
o.fill = "red"; // this is for the line's arrow
}
});