Example #2
0
    private void ConstructGraph()
    {
        _graphView = new MapGraphView(this)
        {
            name = "GraphView"
        };

        _graphView.StretchToParentSize();
        rootVisualElement.Add(_graphView);
    }
Example #3
0
 public static GraphSaveUtility GetInstance(MapGraphView targetGraphView)
 {
     return(new GraphSaveUtility {
         _targetGraphView = targetGraphView
     });
 }