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;
69
var centerX = incoming.Count > 0 ? Padding +
_nodeWidth
+ columnGap : Padding;
70
var width = (columnCount *
_nodeWidth
) + ((columnCount - 1) * columnGap) + (Padding * 2);
74
var right = LayoutColumn(outgoing, centerX +
_nodeWidth
+ columnGap, height);
79
edges.Add(CreateEdge(node.X +
_nodeWidth
, node.Y + NodeHeight / 2, center.X, center.Y + NodeHeight / 2, node));
83
edges.Add(CreateEdge(center.X +
_nodeWidth
, center.Y + NodeHeight / 2, node.X, node.Y + NodeHeight / 2, node));