Enum CircularNodeDiameterFormula

GoDiagram®
v10.0.11
by Northwoods Software®

This enumeration specifies a method for finding the size of a node. Used for NodeDiameterFormula.

Namespace: Northwoods.Go.Layouts
Assembly: Northwoods.GoDiagram.Avalonia.CircularLayout.dll
Syntax
public enum CircularNodeDiameterFormula

Fields

Name Description
Circular

The effective diameter is either the width or height of the node, whichever is larger. This will cause circular nodes to touch when Spacing is 0. This is ideal when the nodes are circular.

Pythagorean

The effective diameter is sqrt(width^2+height^2). The corners of square nodes will touch at 45 degrees when Spacing is 0.