Beispiel #1
0
    private void ConstructGraph()
    {
        _graphView = new AIGraphView
        {
            name = "AI Graph"
        };

        _graphView.StretchToParentSize();
        rootVisualElement.Add(_graphView);
    }
Beispiel #2
0
 private void ConstructGraph()
 {
     //Create
     _graphView = new AIGraphView(this)
     {
         name = "AI Graph"
     };
     // Fill Window
     _graphView.StretchToParentSize();
     // Add the graphview to the window
     rootVisualElement.Add(_graphView);
 }