Unity graph tool solution based on different implementation now focused on Unity.Experimental.Graphview
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
686 B

using System.Collections;
using System.Collections.Generic;
using TNode.Models;
using UnityEngine;
namespace TNode.Runtime{
public class RuntimeGraph:MonoBehaviour{
public GraphData graphData;
public SortedSet<RuntimeNode> _sortedSet;
public void Start(){
//iterate through all nodes and add them to the sorted set
foreach (var node in graphData.NodeDictionary.Values){
}
}
public void StartProcessNode(ProcessingStrategy strategy, RuntimeNode entry){
}
}
public enum ProcessingStrategy{
BreadthFirst,
DepthFirst
}
}