The width of the link (line) can be modified, but the color does not change.
I've tried many things
series.links.template.setAll({
strokeWidth: 2,
strokeOpacity: 0.5,
color: am5.color('#ffffff'),
links: am5.color('#ffffff'),
link: am5.color('#ffffff'),
fill: am5.color('#ffffff'),
strokeColor: am5.color('#ffffff'),
background: am5.color('#ffffff'),
backgroundColor: am5.color('#ffffff'),
stroke: am5.color('#ffffff'),
templateField: 'nodeSettings',
configField: {
fill: am5.color('#ffffff'),
stroke: am5.color('#ffffff'),
strokeColor: am5.color('#ffffff'),
},
strokeLinejoin: 'round',
});