Class GraphViewModel
- Namespace
- Italbytz.Graph.Visualization
- Assembly
- Italbytz.Graph.dll
public sealed class GraphViewModel
- Inheritance
-
GraphViewModel
- Inherited Members
Constructors
GraphViewModel(double, double, IReadOnlyList<GraphNodeViewModel>, IReadOnlyList<GraphEdgeViewModel>)
public GraphViewModel(double viewBoxWidth, double viewBoxHeight, IReadOnlyList<GraphNodeViewModel> nodes, IReadOnlyList<GraphEdgeViewModel> edges)
Parameters
viewBoxWidthdoubleviewBoxHeightdoublenodesIReadOnlyList<GraphNodeViewModel>edgesIReadOnlyList<GraphEdgeViewModel>
Properties
Edges
public IReadOnlyList<GraphEdgeViewModel> Edges { get; }
Property Value
Nodes
public IReadOnlyList<GraphNodeViewModel> Nodes { get; }
Property Value
ViewBoxHeight
public double ViewBoxHeight { get; }
Property Value
ViewBoxWidth
public double ViewBoxWidth { get; }