Ejemplo n.º 1
0
    private void ConstructGraph()
    {
        _graphView = new AIGraphView
        {
            name = "AI Graph"
        };

        _graphView.StretchToParentSize();
        rootVisualElement.Add(_graphView);
    }
Ejemplo n.º 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);
 }