Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for Windows Forms, V6.8.3 (Read 915 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 661
Joined: Apr 6th, 2003
Diagramming for Windows Forms, V6.8.3
Jun 8th, 2022 at 10:31am
Print Post  
We have released version 6.8.3 of FlowChart.NET. It contains the following new features and improvements:

Multiple labels per node
The NodeLabel class allows multiple captions to be displayed for a single DiagramNode of any type. Node labels provide a set of properties allowing full customization of their display and positioning. Label position is defined by specifying a pin point and offset from it, set through SetCornerPosition, SetEdgePosition, SetCenterPosition methods. In addition, the HorizontalAlign and VerticalAlign properties of NodeLabel specify on which side of pin point to draw the label's caption.

For example, following code adds extra labels to top-left and bottom-right corners of a ShapeNode:

Select All
var node = diagram.Factory.CreateShapeNode(10, 50, 40, 30);
node.Text = "text"; // centered main text

var lb1 = node.AddLabel("label 1");
lb1.SetCornerPosition(0, 0, 0);
lb1.HorizontalAlign = StringAlignment.Near;
lb1.VerticalAlign = StringAlignment.Near;
lb1.Brush = new SolidBrush(Color.Red);
lb1.TextBrush = new SolidBrush(Color.White);

var lb2 = node.AddLabel("label 2");
lb2.SetCornerPosition(2, 0, 0);
lb2.HorizontalAlign = StringAlignment.Far;
lb2.VerticalAlign = StringAlignment.Far;
lb2.Brush = new SolidBrush(Color.Yellow);
lb2.TextBrush = new SolidBrush(Color.Red);

  • The MoveLabels behavior lets user move link and node labels interactively.
  • HorizontalOffset and VerticalOffset now work for link labels positioned using SetLinkLengthPosition method.
  • ExcelExporter exports pen width of links.
  • ExcelExporter sets more precise positions of link end points.

Installer for the latest version can be downloaded here, or from the clients area on our site:

Updated assemblies are also available as MindFusion.Diagramming NuGet package.

Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint