Skip to content

GraphX for .NET v3.0.0

Latest
Compare
Choose a tag to compare
@panthernet panthernet released this 21 Apr 09:41
· 2 commits to PCL since this release
2ed4947
  • Added .NET Core library version

  • Upgraded codebase to .NET Standard 2.0 (thanks to honza77)

  • Upgraded codebase to use QuickGraphCore library

  • Implemented multiple labels logic for edges. Now you can display multiple labels across the edge

  • Added LabelHorizontalOffset property for labels which offsets labels along the edge given some offset value in total edge length percent

  • Improved graph print logic to work with ulong dimensions instead of int

CODE CHANGES:

  • Properties ShowLabel,LabelVerticalOffset,AlignLabelsToEdges moved from EdgeControlBase to EdgeLabelControl class
    • Property AlignLabelsToEdges renamed to AlignToEdge
  • Property EdgeControlBase.EdgeLabelControl renamed to EdgeLabelControls and now has IList type
  • Added new method IList EdgeControlBase.GetLabelSizes()
  • Added new method IList EdgeControlBase.GetLabelControls()
  • GraphArea.ShowAllEdgesLabels() method now has one-time effect and will not be reapplied after relayout
  • GraphArea.ShowAllEdgesLabels() method now has one-time effect and will not be reapplied after relayout
  • GraphArea.EdgeLabelFactory is now setup up with default factory generating one AttachableEdgeLabelControl
  • Label factory method CreateLabel() now returns IEnumerable to accomodate multiple labels generation during single factory pass

OBSOLETE AND REMOVED STUFF:
General

  • Old style arrows are now not supported
  • Old style edge labels (EdgeLabelControl) are now not supported, make sure to remove it from XAML templates and update your code to use AttachableEdgeLabelControl

EdgeControlBase

  • LabelAngle
  • GetLabelSize()
  • SetCustomLabelSize()

EdgeControl

  • LabelMouseDown event removed

Other:

  • showLabel parameter has been removed from all EdgeControl constructors and factories