private void ConstructGraph() { _graphView = new MapGraphView(this) { name = "GraphView" }; _graphView.StretchToParentSize(); rootVisualElement.Add(_graphView); }
public static GraphSaveUtility GetInstance(MapGraphView targetGraphView) { return(new GraphSaveUtility { _targetGraphView = targetGraphView }); }