private AutoGraphAsset BuildTrivialGraph() { AutoGraphAsset graph = new AutoGraphAsset(); StartNode startNode = new StartNode(); EndDialogNode endNode = new EndDialogNode(); NodePort inPort = startNode.GetOutputPort("Output"); NodePort outPort = endNode.GetInputPort("Input"); inPort.AddConnections(outPort); return(graph); }