Beispiel #1
0
 void ReGenerateData()
 {
     m_scriptData        = new ScriptData(_settingsPage.m_onlyMonos, _settingsPage.m_namespaces, _settingsPage.m_typeNames);
     dependencyAnalytics = new DependencyAnalytics(m_scriptData);
     GenerateNodes();
     GenerateEdges();
     m_forceData = new ForceLayoutGraph(m_graph, _settingsPage.m_maximumCycles);
 }
        public DependencyAnalytics(ScriptData scriptData)
        {
            if (scriptData != null)
            {
                m_scriptData = scriptData;

                m_dependencyDataIndex = new Dictionary <string, int> ();

                m_singletonData = new Dictionary <string, bool> ();

                GenerateSingletonData();
                GenerateNodeDependencyInfo();
            }
        }