Example #1
0
        public void Initialize()
        {
            _graph = SmartGraph.Create();
            _graph.RebuildGraph();

            _graphGUI = _graph.GetEditor();
            _graphGUI.CenterGraph();

            EditorUtility.SetDirty(_graphGUI);
            EditorUtility.SetDirty(_graph);
        }