ConnectionLabel.center constructor
Creates a label positioned at the center of the connection (anchor 0.5).
Implementation
factory ConnectionLabel.center({
required String text,
double offset = 0.0,
String? id,
}) => ConnectionLabel(
text: text,
anchor: ConnectionAnchor.center,
offset: offset,
id: id,
);