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