2 instantiations of NodeLayout
Aspire.Dashboard (2)
Components\Controls\ResourceRelationshipGraph.razor.cs (2)
72var center = new NodeLayout(Resource, centerX, (height - NodeHeight) / 2, IsCenter: true); 96result.Add(new NodeLayout(node, x, y, IsCenter: false));
7 references to NodeLayout
Aspire.Dashboard (7)
Components\Controls\ResourceRelationshipGraph.razor.cs (7)
72var center = new NodeLayout(Resource, centerX, (height - NodeHeight) / 2, IsCenter: true); 77foreach (var node in left) 81foreach (var node in right) 89private static List<NodeLayout> LayoutColumn(IReadOnlyList<RelationshipGraphNode> nodes, int x, int height) 93var result = new List<NodeLayout>(nodes.Count); 103private static EdgeLayout CreateEdge(int x1, int y1, int x2, int y2, NodeLayout node) 129private sealed record GraphLayout(int Width, int Height, List<NodeLayout> Nodes, List<EdgeLayout> Edges);