Hi there,
I have a diagram with annotations in the connectors ,but I can't get the annotations to have a border.
Node borders work fine.
var anotations = new ObservableCollection<DiagramConnectorAnnotation>()
{
new DiagramConnectorAnnotation()
{
Content = $"Something",
Style = new AnnotationStyle() { Color = color, Fill = AppColors.GrayFaint, StrokeColor = AppColors.Black, StrokeWidth = 2, StrokeDashArray="5,5"},
Offset = GetConnectorAnnotationOffset(srcNodeId),
Alignment = AnnotationAlignment.Before,
HorizontalAlignment = HorizontalAlignment.Left,
VerticalAlignment = VerticalAlignment.Center,
Width = 200,
Height = 40,
Constraints = AnnotationConstraints.ReadOnly
}
};
Attachment:
sf_connector_annotation_2c53bddf.7z