Thank you for your feedback. I have solved the problem and I will share the script to create nodes in Unity Visual Scripting.