public MainWindow() { InitializeComponent(); CKGraphHost host = new CKGraphHost("N:|Clouds|SkyDrive|Dev|C#|Civikey|Certified|Output|Debug"); _dataContext = new GraphLayoutViewModel(host); DataContext = _dataContext; }
public GraphLayoutViewModel(CKGraphHost host) { Contract.Requires(host != null); _graphHost = host; }