private void CreateNodesRecursive(BehaviourTreeGraphNode graphNode)
        {
            Nodes.AddNode(graphNode);

            if (graphNode.TreeNode.IsParentNode())
            {
                var childNodes = graphNode.TreeNode.AsParentNode().GetChildNodes();
                if (childNodes != null)
                {
                    foreach (BehaviourTreeNode childNode in childNodes)
                    {
                        var newNode = new BehaviourTreeGraphNode(childNode);
                        GraphNode.MakeConnection(graphNode, newNode);
                        CreateNodesRecursive(newNode);
                    }
                }
            }
        }
        private void CreateNodesRecursive(BehaviourTreeGraphNode graphNode)
        {
            Nodes.AddNode(graphNode);

            if (graphNode.TreeNode.IsParentNode())
            {
                var childNodes = graphNode.TreeNode.AsParentNode().GetChildNodes();
                if (childNodes != null)
                {
                    foreach (BehaviourTreeNode childNode in childNodes)
                    {
//                        var newNode = new BehaviourTreeGraphNode(childNode);
//                        GraphNode.MakeConnection(graphNode, newNode);
//                        CreateNodesRecursive(newNode);
                        throw new NotImplementedException("TODO!");
                    }
                }
            }
        }
 void OnGraphNodeEmptyTarget(BehaviourTreeGraphNode node, Vector2 offset)
 {
     // Nodes.StartConnection(node, offset);
     throw new NotImplementedException("TODO!");
 }
 void OnGraphNodeEmptyTarget(BehaviourTreeGraphNode node, Vector2 offset)
 {
     Nodes.StartConnection(node, offset);
 }