public GraphShow() { InitializeComponent(); gridDic = new Dictionary <string, Grid>(); arrowDic = new Dictionary <string, ClassLibrary_Graph.Arrow>(); textBoxDic = new Dictionary <string, TextBox>(); graph = new ClassLibrary_Graph.GraphAdjList <string>(); }
public void SetGraph(ClassLibrary_Graph.GraphAdjList <string> graph) { this.graphAdjListControl.Graph = graph; }