# US 2026/0037109 A1 · Replacing nodes of a node graph

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0037109 A1
- Document ID: US20260037109A1
- Status: Published application
- Kind: A1
- Application number: 19/283,805
- Filed: 2025-07-29
- Published: 2026-02-05
- Earliest claimed: 2024-07-31
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Kenneth J. Hill; James G. McCarter; Stuart Mark Pomerantz
- Web page: https://patentgrep.com/patent/US20260037109A1

## CPC

- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one implementation, a method of generating a node graph is performed at a device including a display, one or more processors, and non-transitory memory. The method includes displaying, on the display, a node graph including a plurality of nodes associated with a respective plurality of mathematical operations. The method includes selecting a subset of the plurality of nodes defining a mathematical function. The method includes, in response to detecting a trigger, replacing the subset of the plurality of nodes with a function node associated with the mathematical function.

## Claims

### Claim 1

A method comprising:
at a device having a display, one or more processors, and non-transitory memory:
displaying, on the display, a node graph including a plurality of nodes associated with a respective plurality of mathematical operations;
selecting a subset of the plurality of nodes defining a mathematical function; and
in response to detecting a trigger, replacing the subset of the plurality of nodes with a function node associated with the mathematical function.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, prior to detecting the trigger, displaying a representation of the mathematical function in association with the plurality of nodes.

### Claim 3 (depends on 2)

The method of claim 2, wherein displaying the representation of the mathematical function in association with the plurality of nodes is performed in response to selecting the subset of the plurality of nodes.

### Claim 4 (depends on 2)

The method of claim 2, further comprising displaying an affirm affordance in association with the representation of the mathematical function, wherein detecting the trigger includes detecting activation of the affirm affordance.

### Claim 5 (depends on 1)

The method of claim 1, wherein selecting the subset of the plurality of nodes is based on a user input selecting the subset of the plurality of nodes.

### Claim 6 (depends on 1)

The method of claim 1, selecting the subset of the plurality of nodes is performed automatically.

### Claim 7 (depends on 6)

The method of claim 6, wherein selecting the subset of the plurality of nodes is performed in response to recognizing an equivalent pre-defined function node associated with the mathematical function.

### Claim 8 (depends on 6)

The method of claim 6, wherein selecting the subset of the plurality of nodes is performed in response to recognizing a replacement set of nodes equivalent to the subset of the plurality of nodes that improves a performance characteristic.

### Claim 9 (depends on 1)

The method of claim 1, wherein detecting the trigger includes detecting a user input requesting replacement of the subset of the plurality of nodes with the function node.

### Claim 10 (depends on 1)

The method of claim 1, wherein detecting the trigger includes detecting that a size of the node graph has breached a threshold.

### Claim 11 (depends on 1)

The method of claim 1, wherein the function node includes a representation of the mathematical function.

### Claim 12 (depends on 1)

The method of claim 1, further comprising, after replacing the subset of the plurality of nodes with the function node, replacing the function node with a plurality of replacement nodes.

### Claim 13 (depends on 12)

The method of claim 12, wherein replacing the function node with the plurality of replacement nodes is performed in response to detecting a user input requesting replacement of the function node with the plurality of replacement nodes.

### Claim 14 (depends on 12)

The method of claim 12, wherein the plurality of replacement nodes is the subset of the plurality of nodes.

### Claim 15 (depends on 12)

The method of claim 12, wherein the plurality of replacement nodes is different than the subset of the plurality of nodes.

### Claim 16 (depends on 15)

The method of claim 15, wherein the plurality of replacement nodes differs from the subset of the plurality of nodes according to one or more substitution rules.

### Claim 17 (depends on 16)

The method of claim 16, further comprising receiving the one or more substitution rules from a user or a third-party developer.

### Claim 18

A device comprising:
a display;
non-transitory memory; and
one or more processors to:
display, on the display, a node graph including a plurality of nodes associated with a respective plurality of mathematical operations;
select a subset of the plurality of nodes defining a mathematical function; and
in response to detecting a trigger, replace the subset of the plurality of nodes with a function node associated with the mathematical function.

### Claim 19 (depends on 18)

The device of claim 18, wherein the one or more processors are to select the subset of the plurality of nodes automatically.

### Claim 20

A non-transitory memory storing one or more programs, which, when executed by one or more processors of a device including a display, cause the device to:
display, on the display, a node graph including a plurality of nodes associated with a respective plurality of mathematical operations;
select a subset of the plurality of nodes defining a mathematical function; and
in response to detecting a trigger, replace the subset of the plurality of nodes with a function node associated with the mathematical function.
