Exemple #1
0
        public NodeRunner(NodeGraphHelper graphHelper, bool autoIterate = false)
        {
            _graphHelper = graphHelper;
            _autoIterate = autoIterate;

            _logger          = NodeEditor.GetNewLoggerInstance();
            _logger.LogLevel = NodeEditorLogLevel.ErrorsAndWarnings;
        }
        public NodeExecutionGroup(INodeEditorLogger logger, int depth, Node node, NodeGraphHelper graphHelper)
        {
            Depth = depth;
            Node  = node;

            _logger      = logger;
            _graphHelper = graphHelper;
            _pinCount    = node.InputPins.Count;
        }
        public NodeGraph()
        {
            // Default graph type.
            GraphType = new NodeGraphType();

            Nodes       = new List <Node>();
            Connections = new List <NodeConnection>();
            Variables   = new List <NodeGraphVariable>();
            Helper      = new NodeGraphHelper(this);
            State       = new NodeGraphState(this);
        }