Exemple #1
0
 internal void Initialize()
 {
     Graph.Initialize(STATICS.FILE_LOC, STATICS.WORD_COUNT);
     nodeList = new NodeList();
     glowList = new GlowList();
     string[] wholeKeyword = Graph.GetAllKeywords();
     for (int i = 0; i < wholeKeyword.Length; i++)
     {
         NodeView node = new NodeView(wholeKeyword[i]);
         nodeList.AddNodeView(wholeKeyword[i], node);
         GlowView glow = new GlowView(wholeKeyword[i]);
         glowList.AddGlowView(wholeKeyword[i], glow);
     }
 }
 internal void Initialize()
 {
     Graph.Initialize(STATICS.FILE_LOC, STATICS.WORD_COUNT);
     nodeList = new NodeList();
     glowList = new GlowList();
     string[] wholeKeyword = Graph.GetAllKeywords();
     for (int i = 0; i < wholeKeyword.Length; i++)
     {
         NodeView node = new NodeView(wholeKeyword[i]);
         nodeList.AddNodeView(wholeKeyword[i], node);
         GlowView glow = new GlowView(wholeKeyword[i]);
         glowList.AddGlowView(wholeKeyword[i], glow);
     }
 }