1 write to _nodeWidth
Aspire.Dashboard (1)
Components\Controls\ResourceRelationshipGraph.razor.cs (1)
66_nodeWidth = columnCount == 3 ? ThreeColumnNodeWidth : TwoColumnNodeWidth;
6 references to _nodeWidth
Aspire.Dashboard (6)
Components\Controls\ResourceRelationshipGraph.razor.cs (6)
68_maximumLabelLength = (_nodeWidth - LabelStart - 8) / PixelsPerCharacter; 69var centerX = incoming.Count > 0 ? Padding + _nodeWidth + columnGap : Padding; 70var width = (columnCount * _nodeWidth) + ((columnCount - 1) * columnGap) + (Padding * 2); 74var right = LayoutColumn(outgoing, centerX + _nodeWidth + columnGap, height); 79edges.Add(CreateEdge(node.X + _nodeWidth, node.Y + NodeHeight / 2, center.X, center.Y + NodeHeight / 2, node)); 83edges.Add(CreateEdge(center.X + _nodeWidth, center.Y + NodeHeight / 2, node.X, node.Y + NodeHeight / 2, node));