Declaration

func addNode(
    withPosition position: NSPoint,
    type: GSNode.NodeType,
    connection: GSNode.Connection,
    attributes: [GSShapeKey : Any]? = nil
)

Declaration

- (void) addNodeWithPosition:(NSPoint) position
                        type:(GSNodeType) type
                  connection:(GSNodeConnection) connection
                  attributes:(NSDictionary<NSString *,id> *) attributes;

Declaration

addNodeWithPosition_type_connection_attributes_(
    position: NSPoint,
    type: GSNodeType,
    connection: GSNodeConnection,
    attributes: dict[str, object]
)

See Also

Inserting Nodes