How to populate ICE using code

Jul 27, 2010 at 7:53 AM
Really impressive component guys! I'd like to use it inside another silverlight project and would like to draw the nodes using code, something like: ICE.MainManager mngr = new MainManager(new Dictionary<string, string>(), typeof(; UIElement ui = mngr.GetICEView(); graphCanvas.Children.Add(ui); mngr.ViewManager.HideSplachScreen(); ICE.model.Node root = mngr.CreateNode("Root", "", "", "Hello Root", null, "", 0, "" , false,1,1,1,1); ICE.model.Node child = mngr.CreateNode("Child", "", "", "Hello Child", null, "", 0, "", false, 1, 1, 1, 1); mngr.CreateLink("id1", "Root", "Child", null, null, 1, null, "verb", "complement"); mngr.ViewManager.Start(); The above code is not drawn on the canvas yet. I would apprciate anyone more familiar with the internals to comment on what is still missing.