Create() public method

public Create ( Vector2, pos ) : Node,
pos Vector2,
return Node,
    /// <summary>
    /// Context Click selection. Here you'll need to register your own using a string identifier
    /// </summary>
    public void ContextCallback(object obj)
    {
        switch (obj.ToString())
        {
        case "calcNode":
            CalcNode.Create(new Rect(mousePos.x, mousePos.y, 200, 100));    //CalcNode calcNode = CalcNode.Create (new Rect (mousePos.x, mousePos.y, 200, 100));
            break;

        case "inputNode":
            InputNode.Create(new Rect(mousePos.x, mousePos.y, 100, 50));    //InputNode inputNode = InputNode.Create (new Rect (mousePos.x, mousePos.y, 100, 50));
            break;

        case "displayNode":
            DisplayNode.Create(new Rect(mousePos.x, mousePos.y, 100, 50));  //DisplayNode displayNode = DisplayNode.Create (new Rect (mousePos.x, mousePos.y, 100, 50));
            break;

        case "dialNode":
            DialNode.Create(new Rect(mousePos.x, mousePos.y, 200, 100));    //DialNode dialNode = DialNode.Create(new Rect(mousePos.x, mousePos.y, 200, 100));
            break;

        case "deleteNode":
            Node node = NodeAtPosition(mousePos);
            if (node != null)
            {
                nodeCanvas.nodes.Remove(node);
                node.OnDelete();
            }
            break;
        }
    }