# US 2023/0410393 A1 · Method for graph drawing, non-transitory storage medium, and terminal device

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

- Number: US 2023/0410393 A1
- Document ID: US20230410393A1
- Status: Published application
- Kind: A1
- Application number: 18/249,067
- Filed: 2021-02-23
- Published: 2023-12-21
- Earliest claimed: 2020-10-14
- Assignees: Netease (Hangzhou) Network Co., Ltd.
- Applicants: Netease (Hangzhou) Network Co., Ltd.
- Inventors: Wenchao ZHOU
- Web page: https://patentgrep.com/patent/US20230410393A1

## CPC

- G06T 11/26: Drawing of charts or graphs
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/0485: Scrolling or panning
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06F 2203/04808: Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for graph drawing includes: performing graph drawing on a graphical user interface in response to a first touch operation on the graphical user interface, wherein the first touch operation comprises a sliding operation; obtaining a second touch operation on the graphical user interface in response to a dwelling action of the sliding operation; adjusting a drawing parameter and/or switching a drawing function in response to the second touch operation; and continuing to perform the graph drawing on the graphical user interface using the drawing parameter being adjusted and/or the drawing function being switched according to the first touch operation in response to ending of the second touch operation.

## Claims

### Claim 1

A method for graph drawing, comprising:
performing graph drawing on a graphical user interface in response to a first touch operation on the graphical user interface, wherein the first touch operation comprises a sliding operation;
obtaining a second touch operation on the graphical user interface in response to a dwelling action of the sliding operation;
adjusting a drawing parameter and/or switching a drawing function in response to the second touch operation; and
continuing to perform the graph drawing on the graphical user interface using the drawing parameter being adjusted and/or the drawing function being switched according to the first touch operation in response to ending of the second touch operation.

### Claim 2 (depends on 1)

The method according to claim 1, wherein in process of adjusting the drawing parameter and/or switching the drawing function, a touch point corresponding to the dwelling action does not displace.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the adjusting the drawing parameter and/or switching the drawing function in response to the second touch operation comprises:
adjusting the drawing parameter and/or switching the drawing function in response to touch information of the second touch operation satisfying a preset trigger condition.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the touch information comprises at least one of: a number of click, a pressing time, a touch trajectory, or a pressing strength.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the adjusting the drawing parameter comprises: adjusting at least one of a type parameter, a strength parameter, a size parameter, or a color parameter of a tool used for graph drawing.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the switching the drawing function comprises at least one of: switching on-off state of a stroking function, switching foreground color or background color, switching an anchor type, or switching a paintbrush tool.

### Claim 7 (depends on 3)

The method according to claim 3, wherein the preset trigger condition comprises any one of following:
the number of click reaching a preset number
the pressing time reaching a preset duration;
the touch trajectory satisfying a preset track; or
the pressing strength reaching a preset strength.

### Claim 8 (depends on 5)

The method according to claim 5, wherein the adjusting the drawing parameter further comprises: displaying a parameter adjustment control, wherein the parameter adjustment control is used to indicate an adjustment amplitude of the drawing parameter.

### Claim 9 (depends on 3)

The method according to claim 3, wherein the touch information comprises a touch trajectory;
the adjusting the drawing parameter in response to the second touch operation comprises:
obtaining a touch point corresponding to the dwelling action, a start touch point and a stop touch point corresponding to the second touch operation;
determining a projection of a distance between the start touch point and the stop touch point on an extension line of a line segment of the touch point and the start touch point, and a distance from the stop touch point to the extension line; and
determining a target drawing parameter according to a length of the projection and the distance from the stop touch point to the extension line, wherein the target drawing parameter is the drawing parameter being adjusted.

### Claim 10

(canceled)

### Claim 11

A terminal device, comprising:
a processor and a memory;
wherein the memory is configured to store a program, and the processor invokes the program stored in the memory to;
perform graph drawing on a graphical user interface in response to a first touch operation on the graphical user interface, wherein the first touch operation comprises a sliding operation;
obtain a second touch operation on the graphical user interface in response to a dwelling action of the sliding operation;
adjust a drawing parameter and/or switch a drawing function in response to the second touch operation; and
continue to perform the graph drawing on the graphical user interface using the drawing parameter being adjusted and/or the drawing function being switched according to the first touch operation in response to ending of the second touch operation.

### Claim 12

A non-transitory computer-readable storage medium, wherein a computer-executable instruction is stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instruction is configured to:
perform graph drawing on a graphical user interface in response to a first touch operation on the graphical user interface, wherein the first touch operation comprises a sliding operation;
obtain a second touch operation on the graphical user interface in response to a dwelling action of the sliding operation;
adjust a drawing parameter and/or switch a drawing function in response to the second touch operation; and
continue to perform the graph drawing on the graphical user interface using the drawing parameter being adjusted and/or the drawing function being switched according to the first touch operation in response to ending of the second touch operation.

### Claim 13 (depends on 8)

The method according to claim 8, wherein the parameter adjustment control comprises an interactive control or a non-interactive control.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the adjusting the drawing parameter comprises:
displaying an interactive parameter adjustment control at a position corresponding to the second touch operation in response to touch information of the second touch operation satisfying a preset trigger condition.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the adjusting the drawing parameter further comprises:
determining corresponding target drawing parameter by obtaining a corresponding interaction operation instruction of an interaction operation on the parameter adjustment control through the second touch operation.

### Claim 16 (depends on 1)

The method according to claim 1, wherein the adjusting the drawing parameter comprises:
displaying a non-interactive parameter adjustment control in a drawing region of the graphical user interface in response to touch information of the second touch operation satisfying a preset trigger condition.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the parameter adjustment control comprises:
a horizontal axis representing a size of the drawing parameter; and
a longitudinal axis representing a strength of the drawing parameter.

### Claim 18 (depends on 4)

The method according to claim 4, wherein the touch trajectory comprises a sliding direction and a sliding distance.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the adjusting the drawing parameter comprises:
determining that the drawing parameter is to be increased or reduced according to the sliding direction.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the adjusting the drawing parameter further comprises:
determining corresponding adjustment amplitude in combination with the sliding distance.

### Claim 21 (depends on 11)

The terminal device according to claim 11, wherein in process of adjusting the drawing parameter and/or switching the drawing function, a touch point corresponding to the dwelling action does not displace.
