/// <summary> /// Load a graph asset in this window for editing /// </summary> public void Load(Graph graph) { m_Graph = graph; m_Canvas = new CanvasView(this); m_Canvas.Load(graph); rootVisualElement.Add(m_Canvas); titleContent = new GUIContent(graph.name); Repaint(); }
public EdgeConnectorListener(CanvasView canvas) { m_Canvas = canvas; }