Graphic design system utilizing variable data structures for multi-state design elements
Patent Information
- Application Number
- HK62026126899
- Authority / Receiving Office
- HK · HK
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-20
- Filing Date
- 2026-07-31
- Publication Date
- 2026-09-11
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
(19) State Intellectual Property Office (12) Invention Patent Application (10) Application Publication Number (43) Application Publication Date (21) Application Number 202480044710.6 (22) Application Date 2024.06.20 (30) Priority Data 63 / 522,089 2023.06.20 US (85) PCT International Application Entering National Phase Date 2025.12.30 (86) PCT International Application Application Data PCT / US2024 / 034855 2024.06.20 (87) PCT International Application Publication Data WO2024 / 263806 EN 2024.12.26 (71) Applicant: Fegma Corporation, California, USA (72) Inventors: S. Sanburn, S. Hu, A. Ye, N. Klein, J. Miller, S. Sudashana, G. Miller (74) Patent Agency: Beijing Panhua Law Firm, 11336 Patent Attorney: Li Ke (51) Int.Cl. G06F 3 / 0484 (2006.01) (54) Invention Title: Graphical Design System for Implementing Multi-State Design Elements Using a Variable Data Structure (57) Abstract: A computer system is operable to provide a design interface to support the creation of graphical designs in a production environment. The computer system implements a variable data structure for use with graphical designs, wherein the variable data structure is defined at least in part by a plurality of values and value types. Multi-state design elements are linked to the variable data structure such that each of the plurality of states is at least in part based on a corresponding value of the value type. Claims 2 pages, Description 14 pages, Drawings 9 pages, CN 121464417 A 2026.02.03 CN 1 21 46 44 17 A 1. A computer system comprising: one or more processors; a memory for storing a set of instructions; wherein the one or more processors are operable to execute the instructions stored in the memory to perform operations, the operations including: providing a design interface for a graphical design; implementing a variable data structure for use with the graphical design, the variable data structure being defined at least partially by a plurality of values and value types; and linking multi-state design elements to the variable data structure such that each of the plurality of states is at least partially based on a corresponding value of the value type. 2. The computer system of claim 1, wherein the operations further include: during a design phase, performing a simulation of the graphical design in a production environment by rendering the multi-state design elements sequentially in each of the plurality of states based on the variable data structure.3. The computer system of claim 1, wherein the variable data structure includes a plurality of values of the value type, and wherein linking the multi-state design element includes: rendering the multi-state design element in each state to include attribute values specific to that state and at least partially based on corresponding values of the plurality of values of the value type. 4. The computer system of claim 1, wherein the value type of the variable data structure is a number representing a type of design attribute of the multi-state design element. 5. The computer system of claim 4, wherein the number represents an attribute corresponding to one or more of a line attribute, corner attribute, or size attribute. 6. The computer system of claim 1, wherein the value type of the variable data structure is a color value representing one or more of a fill attribute, line color attribute, and / or background attribute. 7. The computer system of claim 1, wherein the value type of the variable data structure is a string representing a text attribute. 8. The computer system of claim 1, wherein the value type of the variable data structure is a string representing a layer having a matching text content attribute. 9. The computer system of claim 1, wherein the corresponding value of the variable data structure is defined at least in part by a logical expression and at least one of: (i) user input, and / or (ii) an attribute of another design element associated with the variable data structure. 10. The computer system of claim 1, wherein the operation further comprises: associating another design element of the graphical design with the variable data structure, and wherein the corresponding value of the variable data structure is at least in part based on an attribute of the associated design element. 11. The computer system of claim 10, wherein the operation further comprises: updating the corresponding value of the variable data structure based on the modified attribute in response to a modification of an attribute of the associated layer by user input. 12. The computer system of claim 1, wherein the operation further comprises: allowing a user to specify an interaction with the multi-state design element; and updating or selecting the corresponding value of the variable data structure based on an attribute of the associated design element in response to detection of the interaction with the multi-state design element. 13. The computer system of claim 12, wherein the operation further comprises: enabling a simulation mode in which multiple states of the multi-state design element can be rendered sequentially; allowing the user to perform the interaction with the associated design element during the simulation mode; and wherein, in response to the user performing the action, the corresponding value of the variable data structure is updated or selected.14. A computer-implemented method comprising: providing a design interface for a graphical design; implementing a variable data structure for use with the graphical design, the variable data structure being defined at least partially by a value type; and linking a multi-state design element having multiple states to the variable data structure such that each of the multiple states is at least partially based on a corresponding value of the value type. 15. The computer-implemented method of claim 14, further comprising: during a design phase, performing a simulation of the graphical design in a production environment by rendering the multi-state design element sequentially in each of the multiple states based on the variable data structure. 16. The computer-implemented method of claim 14, wherein the variable data structure includes a plurality of values of the value type, and wherein linking the multi-state design element comprises: rendering the multi-state design element in each state to include an attribute value specific to that state and at least partially based on a corresponding value of the plurality of values of the value type. 17. The computer implementation method of claim 14, wherein the value type of the variable data structure represents an attribute corresponding to one or more of a line attribute, corner attribute, or size attribute, or represents a color value of one or more of a fill attribute, line color attribute, and / or background attribute. 18. The computer implementation method of claim 14, wherein the corresponding value of the variable data structure is defined at least in part by a logical expression and at least one of: (i) user input, and / or (ii) an attribute of another design element associated with the variable data structure. 19. The computer implementation method of claim 14, further comprising: allowing a user to specify an interaction with the multi-state design element; and updating or selecting the corresponding value of the variable data structure based on the attribute of the associated design element in response to detecting the interaction with the multi-state design element. 20. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors of a graphics design system, cause the graphics design system to perform operations, the operations comprising: providing a design interface for the graphics design; implementing a variable data structure for use with the graphics design, the variable data structure being defined at least in part by a value type; and linking a multi-state design element having multiple states to the variable data structure such that each of the multiple states is at least in part based on a corresponding value of the value type.Claims 2 / 2 Page 3 CN 121464417 A Graphical Design System for Implementing Multi-State Design Elements Using Variable Data Structures
[0001] Cross-Reference to Related Applications This application claims priority to (i) U.S. Patent Application No. 18 / 749,359, filed June 20, 2024; and (ii) U.S. Provisional Patent Application No. 63 / 522,089, filed June 20, 2023; the full text of which is incorporated herein by reference. Technical Field
[0002] The examples described herein relate to a graphical design system, and more specifically, to a graphical design system for implementing multi-state design elements using variable data structures. Background Art
[0003] Software design tools are diverse in form and widely used. For example, in the field of application user interfaces, software design tools require designers to combine the functional aspects of the program with aesthetics and even legal requirements, ultimately forming a series of pages that constitute the application user interface. For a particular application, designers often have many goals and requirements that are difficult to track.
[0004] FIG1 illustrates a graphical design system according to one or more embodiments.
[0005] FIG2A illustrates an example method of combining variable data structures with graphical design according to one or more embodiments.
[0006] FIG2B illustrates an example method of using variable data structures to determine the properties of design elements according to one or more embodiments.
[0007] FIG2C illustrates an example method of using variable data structures to simulate graphical design in a production environment according to one or more embodiments.
[0008] FIG3A illustrates an example graphical design interface for utilizing a set of variable data structures in a graphical design system according to one or more embodiments.
[0009] FIG3B illustrates a panel interface for enabling users to define variable data structures according to one or more embodiments.
[0010] FIG3C illustrates an interface for displaying a set including multiple variable data structures according to one or more embodiments.
[0011] FIG3D illustrates a panel for enabling users to switch the subject value set of variable data structures in the set according to one or more embodiments.
[0012] Figure 3E illustrates an example interface for utilizing a collection of variable data structures having string value data types, according to one or more embodiments.
[0013] Figure 3F illustrates an application of expressions to determine the active values of a stateful layer during simulation mode, according to one or more embodiments.
[0014] Figure 4 illustrates another example of a graphical design system utilizing variable data structures, according to one or more embodiments.Specification 1 / 14 Page 4 CN 121464417 A
[0015] Figure 5 illustrates a computer system that can implement one or more embodiments.
[0016] Figure 6 illustrates a user computing device used in conjunction with one or more examples as described above. Detailed Description
[0017] In some examples, the graphic design system provides a design interface for graphic design. The design interface may include tools and other interactive functions that enable users to create and / or update graphic designs. The graphic design may include design elements rendered on a canvas by an integrated graphic design system. In some examples, the integrated graphic design system may provide a collaborative environment for multiple users to concurrently update graphic designs.
[0018] In some examples, the graphic design may be structured or otherwise represented by a hierarchical arrangement of layers, wherein each layer corresponds to a frame object, a set of frame objects, or a particular type of frame object. In these examples, the layers of the graphic design may represent various design elements that constitute the graphic design. Each layer may also be characterized by a set of attributes that reflect the visual appearance of the design elements. Users can select or manipulate the attributes of each layer. As illustrated, users can modify individual layers by specifying the following parameters: (i) numerical values representing the line, corner, or dimensional features of a frame object; (ii) background color values (e.g., formatted as HEX, HSB, HSL, CSS, and RGB), or color values for the fill, line, or shadow properties of an object; (iii) shape features; and / or (iv) text string properties.
[0019] This graphic design system can be used to create graphic designs for production environments, such as functional user interfaces for computing devices. In a production environment, the program flow of a terminal computing device can render various parts of the graphic design within the context of providing a functional user interface to the user. Therefore, production elements can be dynamic and change state in response to user interaction or other events. This graphic design system allows users to specify different visual aspects of production elements that change state through the graphic design. In one approach, the graphic design system allows users to define a group of design elements (referred to as “components”) as a set of design elements, where each design element in the group is an instance of a multi-state component, and each instance differs from other instances by the values of one or more attributes. Thus, each instance can be characterized by two parts: (i) a first set of one or more attributes whose values, individually or in combination, are unique relative to other instances in the group; and (ii) a second set of attributes that are identical across all instances in the group. In some examples, each instance in this group can be referred to as a variant of the multistate object, where the variant represents one of the states of the multistate object.
[0020] In some examples, operations include allowing a user to associate an instance of a component with a variable data structure, and allowing a user to link a second object of a graphical design with a variable data structure. Furthermore, these operations include performing a simulation of the graphical design when deployed in a production environment, specifically by: (i) setting active values for the variable data structures based on the attributes of the component instances; and (ii) automatically configuring the attributes of the second object based on the active values of the variable data structures.
[0021] Furthermore, in some examples, computer-implemented operations include associating a set of variable data structures with a graphical design, wherein each variable data structure in the set is associated with multiple values, including a corresponding first value for a first theme and a corresponding second value for a second theme. These operations also include: rendering the graphical design in a first theme by assigning each variable data structure in the set to a corresponding first value for the first theme; and rendering the graphical design in a second theme in response to an event by assigning each variable data structure in the set to a corresponding second value for the second theme.
[0022] Furthermore, in some examples, the graphical design system allows a user to specify interactions with multi-state design elements during the design phase. When a graphical design system is implemented in simulation mode, the system simulates a graphical design implemented in a production environment. In this simulation mode, in response to the detection of an interaction with a multi-state design element, the state of the multi-state design element is changed according to a variable data structure. Specification 2 / 14 page 5 CN 121464417 A
[0023] One or more embodiments described herein indicate that methods, techniques, and operations performed by a computing device are performed in a programmatic manner or as a computer-implemented method. As used herein, “programmatic” means using code or computer-executable instructions. These instructions may be stored in one or more memory resources of the computing device. Programmatically executed steps may be automatic or non-automatic.
[0024] One or more embodiments described herein may be implemented using program modules, engines, or components. Program modules, engines, or components may include programs, subroutines, portions of programs, or software or hardware components capable of performing one or more predetermined tasks or functions. As used herein, modules or components may exist independently of other modules or components on a hardware component. Alternatively, a module or component may be a shared element or process of other modules, programs, or machines.
[0025] Some embodiments described herein typically require the use of computing devices, including processing and memory resources.For example, one or more embodiments described herein may be implemented, in whole or in part, on computing devices such as servers, desktop computers, cellular networks or smartphones, tablets, wearable electronic devices, laptops, printers, digital photo frames, network devices (e.g., routers), and tablet devices. Memory, processing, and network resources may be used in conjunction with building, using, or performing any of the embodiments described herein, including performing any method or implementing any system.
[0026] Furthermore, one or more embodiments described herein may be implemented using one or more processor-executable instructions. These instructions may be carried on a computer-readable medium. The machines shown or described in the figures below provide examples of processing resources and computer-readable media that can be used to carry and / or perform the instructions of embodiments of the present invention. In particular, the numerous machines shown with the embodiments of the present invention include processors and various forms of memory for storing data and instructions. Examples of computer-readable media include persistent storage devices, such as hard disk drives on personal computers or servers. Examples of other computer storage media include portable storage units, such as CDs or DVDs, flash memory (e.g., flash memory used in smartphones, multifunction devices, or tablets), and magnetic storage. Computers, terminals, and network-enabled devices (e.g., mobile devices such as mobile phones) are examples of machines and devices that utilize processors, memory, and instructions stored on a computer-readable medium. Furthermore, embodiments may be implemented as computer programs or as computer-usable carrier media capable of carrying such programs.
[0027] System Description FIG1 illustrates a graphical design system according to one or more examples. The graphical design system 100 (“GDS 100”) described in FIG1 can be implemented in any of a variety of different computing environments, including as a device-side application, a network service, and / or a collaboration platform. For example, GDS 100 can be implemented using a web-based application 80 running on user device 10. In other examples, GDS 100 can be implemented using a dedicated web-based application. As a supplement or alternative, one or more components of GDS 100 can be implemented as a distributed system, such that the processes described using various examples can be executed either on a network computer (e.g., a server) or on user device 10.
[0028] In some examples, GDS 100 includes processes executed via a web-based application 80 installed on computing device 10. Web-based application 80 can execute scripts, code, and / or other logic to implement the functions of GDS 100.Furthermore, in some variations, GDS 100 can be implemented as part of a network service, wherein a web-based application 80 communicates with one or more remote computers (e.g., servers for the network service) to execute processes of GDS 100.
[0029] In some examples, user device 10 includes a web-based application 80 that loads processes and data to provide GDS 100 on user device 10. GDS 100 may include a rendering engine 120 that enables users to create, edit, and update graphic design files.
[0030] In some examples, the web-based application 80 retrieves program resources for implementing GDS 100 from a web site. As a supplement or alternative, the web-based application 80 may retrieve some or all of the program resources from a local source (e.g., local memory located on computing device 10). The web-based application 80 may also access various types of datasets to provide functionality similar to that described in GDS 100. These datasets may correspond to files and libraries, which may be stored remotely (e.g., on a server, associated with an account) or locally.
[0031] According to an example, a user of device 10 operates a web-based application 80 to access a website where they retrieve and execute program resources to implement GDS 100. The user can initiate a session to implement GDS 100 to view, create, and edit graphic designs 135. Furthermore, the user can simulate deploying graphic designs 135 in a production environment. In some examples, the user may act as a designer, creating, editing, and refining graphic designs for later use in a production environment.
[0032] In the example, the web-based application 80 may correspond to a commercially available browser, such as Google Chrome (developed by Google), Safari (developed by Apple), and Internet Explorer (developed by Microsoft). In these examples, the processes of GDS 100 may be implemented as scripts and / or other embedded code, which the web-based application 80 can download from a website. For example, a web-based application 80 can execute code embedded in a webpage to implement the processes of GDS 100. The web-based application 80 can also execute scripts to retrieve other scripts and program resources (e.g., libraries) from websites and / or other local or remote locations. By way of example, the web-based application 80 can execute JavaScript embedded in HTML resources (e.g., webpages built according to HTML 5.0 or other versions, based on standards published by the W3C or WHATWG consortium).In other variations, GDS 80 may be implemented using a dedicated application, such as a web-based application.
[0033] GDS 100 may include processes represented by program interface 102, rendering engine 120, design interface 130, and simulation interface 132. Depending on the implementation, these components may execute on user device 10, on a network system (e.g., a server or a combination of servers), or on both user device 10 and a network system (e.g., as distributed processes).
[0034] Program interface 102 includes processes for receiving and sending data to implement GDS 100. Furthermore, program interface 102 may be used to retrieve program resources and datasets from local or remote sources, including workspace files 155 of a user or user account. In the example, workspace file 155 contains one or more datasets (“graphic design datasets 157”) that represent corresponding graphic designs 135 that can be rendered by rendering engine 120. Workspace file 155 may contain one or more graphic design datasets 157 that collectively define graphic designs 135. The graphic design dataset 157 may include one or more hierarchical data structures. In some examples, the graphic design dataset 157 defines a set of layers constituting the graphic design 135, where each layer corresponds to an object, a set of objects, or an object of a specific type (e.g., a component). Furthermore, in some examples, the graphic design dataset 157 may be organized to contain graphic designs on a screen, where each graphic design contains one or more pages (e.g., one canvas per page), or segments containing one or more pages.
[0035] According to one aspect, the program interface 102 also retrieves program resources, including application frameworks for implementing the design interface 130. The design interface 130 may utilize a combination of local resources, browser-based resources, and / or web resources (e.g., application frameworks) provided through the program interface 102 to generate interactive functions and tools that can be integrated with the rendering of the graphic design on the canvas. The application framework enables the user to view and edit various aspects of the graphic design. In this way, the design interface 130 can be implemented as a functional layer integrated with the canvas providing the graphic design 135.
[0036] The design interface 130 can detect and interpret user input, for example, based on the location and / or type of the input. The location of the input can refer to a canvas or screen location, such as a tap operation, or the start and / or end location of a series of inputs. The input type can correspond to one or more types of input occurring on the canvas, or design elements rendered on the canvas. These inputs can be associated with the canvas or screen location to select and manipulate design elements or portions thereof.Based on canvas or screen position, user input can also be interpreted as input for selecting a design tool, such as a design tool provided by an application framework. In an implementation, design interface 130 can use a reference to the corresponding canvas to identify the screen position of user input (e.g., "click"). Furthermore, design interface 130 can interpret user input actions based on detected input positions (e.g., whether the input position indicates a selection of a tool, an object rendered on the canvas, or a canvas area), the frequency of input detected within a given time period (e.g., double-click), and / or the start and end positions of the input or a series of inputs (e.g., the start and end positions of a click and drag), as well as various other input types that the user can specify through one or more input devices (e.g., right-click, screen tap, etc.).
[0037] In some examples, rendering engine 120 and / or other components utilize graphics processing unit (GPU) accelerated logic, such as logic provided by WebGL (Web Graphics Library) programs that execute Graphics Library Shader Language (GLSL) programs that run on the GPU. In other variations, the web-based application 80 can be implemented as a dedicated web-based application optimized to provide the functionality described in the various examples. Furthermore, the web-based application 80 will vary depending on the type of user device, including the operating system used by user device 10 and / or the form factor of the user device (e.g., desktop computer, tablet, mobile device, etc.).
[0038] In the example, rendering engine 120 uses graphic design dataset 157 to generate a rendering of graphic design 135 for design interface 130. Each design element (or layer) of graphic design 135 can be characterized by a set of attributes, each containing an attribute type and an attribute value. For objects, attribute types include shape, size (or dimensions), layer, type, color, line thickness, text size, text color, font, and / or other visual characteristics. Depending on the implementation, these attributes reflect the nature of a two-dimensional or three-dimensional design. Thus, the attribute values of individual design elements or layers define visual characteristics such as size, color, positioning, layering, and content.
[0039] The graphic design 135 can be organized by screen (e.g., a computer screen representing a production environment), page (e.g., where each page contains a canvas on which the corresponding graphic design is rendered), or segment (e.g., where each screen contains multiple pages or screens). A user can interact with the graphic design 135 to view and edit it. The design interface 130 can detect user input, and the rendering engine 120 can update the graphic design 135 in response to that input.For example, a user can specify input to change the view of graphic design 135 (e.g., zoom in or out of the graphic design), and in response, rendering engine 120 updates graphic design 135 to reflect the change in view. The user can also edit graphic design 135. Design interface 130 can detect the input, and rendering engine 120 can update graphic design dataset 157 representing the updated design. Furthermore, rendering engine 120 can update graphic design 135 so that the user can immediately see the changes to graphic design 135 resulting from user interaction.
[0040] Collaborative Environment In this example, GDS 100 can be implemented as part of a collaborative platform where multiple users can operate computer devices in different locations to view and edit graphic designs. As part of the collaborative platform, when a user edits graphic design 135, the changes made by the user are implemented in real time in instances of the graphic design on the computer devices of other collaborating users. Similarly, when other collaborators make changes to the graphic design, these changes are also reflected in graphic design dataset 157 in real time. Rendering engine 120 can update graphic design 135 in real time to reflect changes made to the graphic design by collaborators.
[0041] In an implementation, when the rendering engine 120 makes changes to the graphic design dataset 157, the corresponding change data 111 representing the change can be transmitted to the network system 150. The network system 150 can implement one or more synchronization processes (represented by the synchronization component 152) to maintain the network-side representation 151 of the graphic design. In response to receiving change data 111 from user device 10, the network system 150 updates the network-side representation 151 of the graphic design and transmits the change data 121 to the user devices of other collaborators. Similarly, if another collaborator makes changes to an instance of the graphic design on their respective device, the corresponding change data 111 can be transmitted from the collaborator device to the network system 150. The synchronization component 152 updates the network-side representation 151 of the graphic design and transmits the corresponding change data 121 to user device 10 to update the graphic design dataset 157. Then, the rendering engine 120 updates the graphic design 135.
[0042] In the example, the graphic design dataset 157 includes a set of variable data structures 159 associated with the graphic design 135. Each variable data structure 159 may be a value type (e.g., number, string, hexadecimal, Boolean, etc.). Each variable data structure 159 may also be associated with one or more values of the corresponding value type.
[0043] Variable Data Structures More specifically, the variable data structures 159 of the graphic design dataset 157 may be associated with one or more aspects of the graphic design.In some examples, variable data structure 159 may have a tabular or row-based structure, wherein at least one column provides the corresponding value of the variable data structure. As described in some examples, each variable data structure 159 may have multiple corresponding values, in which case the variable data structure contains multiple columns, each column identifying a different corresponding value of the variable data structure.
[0044] Collection of Variable Data Structures In addition, in some examples, the graphic design dataset 157 may include a collection of variable data structures, wherein each variable data structure in the collection has one or more corresponding values. The collection of variable data structures may be structured as a multidimensional table, each variable data structure being partially defined by corresponding values (or value sets), providing the corresponding value of each variable data structure 159 in the corresponding columns.
[0045] Thematic Value Sets of the Collection The columnar value sets of variable data structures 159 in the collection may also be linked to a specific theme or theme set. Values assigned to variable data structures 159 in the collection can be switched from one theme set to another. Users can interact with variable data structures 159 or the collection through the design interface 130 to select alternative theme sets for the variable data structures in the collection. For example, design interface 130 allows users to interact with a tabular data structure representing a set of variable data structures, enabling users to specify or select corresponding values for each variable data structure in a subject set. Alternatively, the design interface allows users to switch between alternative subject value sets for variable data structures in the set.
[0046] For example, the corresponding value of each variable data structure 159 can determine the visual attributes of the corresponding layer of the graphic design. On one hand, the set of variable data structures 159 is used to implement variations of a given graphic design, for example, to adapt to production environments where the attributes of design elements may differ for aesthetic, design, or functional reasons. Variations of graphic design 135 are necessary or required in various contexts. In cases where, for example, the graphic design is used in a user's computing environment, the graphic design will differ depending on the hardware used by the user (e.g., mobile devices versus laptops versus desktops, etc.) and the operating system and / or platform used by the user's computing device. Therefore, the type of hardware, operating system, and computing environment can represent alternative production environments for the graphic design, which may motivate designers to change certain aspects of the graphic design to suit the preferences or requirements of each environment. In the event that alternative brands may exist in the production environment, alternative graphic design sets can also be used. Furthermore, alternative graphic design sets can support the implementation of alternative modes in the production environment, such as light and dark mode implementations for the same application.
[0047] Variable data structures used to determine attributes are associated, for example, users can specify stateful aspects of the graphic design using design interface 130.The stateful aspects of a graphic design can be defined as: (i) the visual appearance of the graphic design in its current state; (ii) actions / events that cause a change in the state of the graphic design's stateful aspects; and / or (iii) the rendering of the graphic design in the next state after the action or event occurs. In the example on page 6 / 14 of the specification, CN 121464417 A, the graphic design can contain multiple top-level elements, each representing a page or screen, on which the graphic design is implemented in a production environment. Furthermore, the graphic design can contain multiple stateful layers that can visually change state when implemented in a production environment. For example, an icon can change color or size in response to an action corresponding to a click or hover action. Users can interact with the design interface 130 to specify the logical relationships between the various states that constitute the graphic design. User input can specify sequences defining transitions between different layers, actions that cause specific state changes, and layer attribute changes that reflect state changes. Users can also link variable data structures 159 to stateful layers whose attributes need to be changed (e.g., changing color or shadow). In this case, the set of values for the linked variable data structure 159 can define changes to the layer. User input can also specify the order or manner in which the values of the variable data structure are used to change the corresponding properties of the linked layers.
[0048] Design interface 130 enables users to create variable data structures 159 and to create associations between variable data structures 159 and layers in a graphical design. In some examples, variable data structures 159 can be created via user input. Alternatively, variable data structures 159 can be received from a network source (e.g., a collaborator, external source, etc.) from which users can provide input to link selected layers to the corresponding variable data structures. Users can create such associations for layers that need to maintain state in a production environment. Variable data structures 159 can be selected or configured to define the properties of a layer in each of multiple states. Each state of a stateful layer can be represented by the value of the linked variable data structure 159. Thus, a stateful layer in a simulation environment can change its state based on alternative values of the linked variable data structure 159. Furthermore, the properties of stateful design elements are dynamically determined based on the properties of other design elements (e.g., components or multi-state design elements).
[0049] For example, the association between variable data structure 159 and a layer can be such that selected values of variable data structure 159 determine the attributes of the linked layer. For example, variable data structure 159 can specify a set of numerical values to represent alternative states of a layer, where differences between states are based on attributes such as size / dimension, line features, and / or corner features. In a variant, variable data structure 159 can specify a set of color values (e.g., hexadecimal) to represent alternative states of a layer, where differences between states are based on color attributes (e.g., fill color, line color, etc.).Alternatively, variable data structure 159 can specify a string value to represent an alternative state of a layer, where the difference between states is based on text attributes or content. Furthermore, variable data structure 159 can also specify Boolean values for linked layers or layer attributes. In this way, variable data structure 159 can associate multiple values with a given layer, where each value is associated with a state of the layer. Users can also specify logical relationships to determine the order or sequence in which the values in the variable data structure value set are "activated," thus reflecting the current state of the linked layer. For example, for a soft button whose fill color changes from black to gray and then to blue in response to a click, the specific value activated in a given state reflects the rendered color of the soft button at that moment. Furthermore, the logical relationships specified through design interface 130 can also serve as the basis for generating programming code and other datasets for implementing the graphic design in a production environment.
[0050] Rendering engine 120 can implement a simulation mode to dynamically render the graphic design interactively and in a manner representative of the production environment in which the graphic design 135 will be deployed, via simulation interface 132. In other words, a simulation mode can be enabled during the design phase of a graphic design, where the simulation mode simulates the implementation of the graphic design in a production or runtime environment. Furthermore, at least in some examples, the simulation mode can be dynamic, i.e., the attributes of stateful elements are based on the values of other stateful elements.
[0051] When generating a simulation of the graphic design, the rendering engine 120 renders the portion of the graphic design corresponding to, for example, a display screen in a production environment via the simulation interface 132. Before rendering the simulation mode, the user can specify state relationships between layers and state relationships between layers and variable data structures. Once the simulation mode is activated, the simulation interface 132 can receive user input and / or detect other events (e.g., the passage of time) to perform state changes on the simulated graphic design according to the logical relationships specified by the user. State changes can include: responding to user input, transitioning between screens, and instructing attribute changes to individual layers based on the variable data structure associated with the variable specification page 7 / 14 10 CN 121464417 A data structure. In the example, variable data structure 159 is used to represent stateful design elements visualized in simulation mode.
[0052] The simulation interface 132 can render stateful design elements, causing them to contain attributes based on the active values of their respective variable data structures 159. Each stateful design element's variable data structure 159 can contain multiple values, each defining an attribute that at least partially defines the state of the design element. The simulation interface 132 can contain logic that determines an initial or default value for each variable data structure 159, as well as subsequent values after a state transition changes the attribute of the corresponding layer. Specific values of the variable data structures can be referred to as "active" values.Therefore, when the variable data structure 159 contains multiple values, the active value can represent a specific value used to render the associated layer to a specific state during simulation rendering.
[0053] In some examples, the rendering engine 120 allows the user to interact with the design interface 130 to specify the association between layers of the graphic design and the variable data structure 159, wherein the association is based at least in part on specified or indicated properties of the value setting layer to set the active value of the variable data structure 159. Furthermore, the rendering engine 120 also allows the user to specify an action or event for a layer so that the active value of the variable data structure is set by the specified layer or its properties. For example, the user can specify "click" or "hover" as the action or event that triggers a change in the active value of the variable data structure 159. Alternative values selected as the active state can be determined based on, for example, the properties of the associated layer that receive user input or interaction (e.g., click, hover). Thus, during simulation mode, the active value of the variable data structure 159 (representing the current state of the linked layer) can be determined by the properties of the value setting layer.
[0054] As previously described, when implementing simulation mode, rendering engine 120 simulates rendering a page or screen of a graphic design in a production environment. Users can interact with various layers of the simulation design, simulating user interaction with corresponding functional user interfaces in a production environment. The simulation design may contain state layers that can change state based on user input and other events. The values of state layers can be based on the value set of associated variable data structures. To simulate user interaction, rendering engine 120 can utilize the corresponding variable data structure 159 and the logical relationships associated with it to determine the state of the state layers. Rendering engine 120 renders the graphic design to reflect possible state changes.
[0055] In this example, the logical relationships specified between each layer and its corresponding variable data structure include a relationship where the attributes of the layer rendered in simulation mode are based on the value set of variable data structure 159. In conjunction with such logical relationships, users can also specify user input or events received in relation to the associated layer to trigger the implementation of the logical relationships. For example, a logical relation can specify an attribute of a layer that provides the basis for the value of a variable data structure during simulation when a specific type of input is received on the layer in simulation mode.
[0056] Thus, a logical relation can include a relationship in which the active value of a variable data structure is set by an attribute of the corresponding layer for simulation purposes. Furthermore, the active value of a variable data structure can be determined in response to a specified user interaction during simulation rendering of the corresponding layer. For example, in simulation mode, a selection made by the user in the first layer can trigger a change in value in the second layer, based on the association between the first layer and variable data structure 159, and the link between variable data structure 159 and the second layer. For example, variable data structure 159 allows the use of expressions with a set of values.These expressions can contain mathematical and / or logical expressions. Furthermore, the expression value of a variable data structure can contain the active values of other variable data structures in the graphical design. In some examples, the simulation interface 132 determines the value of the logical expression of the variable data structure in response to input or other events that change values. For example, the expression can contain mathematical operations, such as addition, subtraction, division, multiplication, averaging, etc., of the values of one or more other variable data structures. Therefore, in some cases, when implementing a simulation mode, attributes of different layers (represented by different variable data structures) can partially determine the active value of a given stateful layer of variable data structures. Additionally, the expression can also contain mathematical operations for modifying the values of attributes. In some variations, as specified in Part 8 / 14, page 11 CN 121464417 A, the expression of a specific variable data structure can contain conditional logic, such as conditional logic that determines the active value of a variable data structure based on another condition (e.g., the value of another variable data structure). Furthermore, the expression of a specific variable data structure can contain nested logical expressions, such as conditional statements containing nested logical and / or mathematical operations. Furthermore, logical expressions can be resolved to specific data types, such as numeric, color, or string values.
[0057] Methodological Figure 2A illustrates an example method for combining variable data structures with a graphic design according to one or more embodiments. Figure 2B illustrates an example method for determining the properties of design elements using variable data structures according to one or more embodiments. Figure 2C illustrates an example method for simulating a graphic design in a production environment using variable data structures according to one or more embodiments. In describing the examples of Figures 2A to 2C, reference to the elements in Figure 1 will be used only to illustrate the appropriate components and functions required to perform the steps or sub-steps.
[0058] Referring to Figure 2A, in step 204, GDS 100 provides a design interface that enables users to view, create, and edit graphic designs.
[0059] In step 208, GDS 100 associates a collection of variable data structures with the graphic design. Each variable data structure may be associated with one or more design elements of the graphic design. Furthermore, each variable data structure in the collection may be assigned multiple values, and each of the multiple values may be associated with a value of a specific type (e.g., numeric, string, color value, Boolean value, etc.). In the example, multiple values for each variable data structure include a first value for a first topic and a corresponding second value for a second topic.
[0060] In step 212, GDS 100 renders a graphical design based on a first topic by assigning each variable data structure in the set to a corresponding first value for the first topic.
[0061] In step 216, GDS 100, in response to user input (e.g., theme change input) or other events, renders a graphical design based on a second theme by assigning each variable data structure in the set to a corresponding second value of the second theme. As described using some examples, the user can switch between theme values in the set using interactive features such as menu functionality.
[0062] For example, GDS 100 allows a user, account holder, or remote source of the set to update the set of variable data structures. GDS 100 also allows a user or account holder to update a set initially received from a third party or remote source. In some variations, once a user or account holder has updated a particular variable data structure in the set, subsequent updates to the set may cause GDS 100 to selectively update the set. For example, when updating the set via the original data source, GDS 100 may exclude selected variable data structures that were recently updated by a user, account holder, or alternative source. In this way, GDS 100 can implement variable execution logic 122 or other processes to selectively apply updates to a collection, such as excluding updates to the variable data structure updated by the user or other sources.
[0063] Referring to FIG2B, in step 220, GDS 100 provides a design interface to render at least a portion of a graphical design. Simultaneously with the rendering of the graphical design, in step 224, GDS 100 allows the user to associate a first layer of the graphical design with the variable data structure. The first layer may include components associated with multiple instances, wherein the multiple instances collectively define multiple states associated with the component. For example, these multiple states may reflect a production environment characteristic represented by the component, wherein the state of the production environment characteristic changes based on events and / or user input.
[0064] In step 228, GDS 100 allows the user to link or associate a second layer of the graphical design with the variable data structure, wherein the second layer is different from the first layer, and wherein the objects contained in the second layer are different from the components of the first layer. Each of the first and second layers may correspond to, for example, an object, a set of objects, or objects of a particular type. Similarly, each of the first and second layers may correspond to, for example, a frame object or a combination of frame objects (e.g., a parent object and a child object), or a top-level frame (e.g., an object page or screen).
[0065] In step 232, the GDS 100 performs a simulation of the graphic design in a production environment. During the simulation, the GDS 100 may determine the active values of the variable data structure based on the attributes of the first layer. Furthermore, the GDS 100 may automatically configure the attributes of the second layer based on the active values of the variable data structure.
[0066] Referring to the example of FIG2C, in step 236, GDS 100 provides a design interface to render at least a portion of a graphical design. In step 240, GDS 100 implements a variable data structure for use with the graphical design, wherein the variable data structure is defined at least in part by a value type and one or more values. In step 244, GDS 100 links a multi-state design element having multiple states to the variable data structure such that each of the multiple states is at least in part based on a corresponding value of the value type.
[0067] Example Interface FIG3A through 3F and FIG4 illustrate various implementation examples of a graphical design system according to one or more embodiments. In describing the examples of FIG3A through 3F and FIG4, reference is made to the elements in FIG1 to illustrate suitable components for implementing the features and functions described in the examples.
[0068] FIG3A illustrates an example graphical design interface 300 for displaying information about a set of variables of a computing device. In the example, the graphic design interface 300 is designed for user interaction with GDS 100 (via the corresponding user device 10) to edit graphic designs. In the illustrated example, the graphic design interface 300 uses multiple sets 310, each containing one or more variable data structures 312. Each variable data structure 310 may contain an identifier 311, a data type 313 (e.g., number, string, color, boolean value, etc.), and one or more values 315 of that data type. The set 310 may be a tabular data structure, where each row corresponds to a variable data structure, and each column corresponds to a set of values for the variable data structures in the set. In some implementations, each set 310 can be edited to include additional columns (or values) for each variable data structure in the set. Furthermore, each set 310 can be edited to include additional rows (or variable data structures) with corresponding assigned values. Additionally, the user can modify the attributes or values of individual variable data structures.
[0069] The graphic design interface 300 may include a panel 314 or a list that allows a user to view and / or edit a collection 300 associated with a specific graphic design file, or alternatively, a collection 300 associated with a user or user account. Collections 310 may be organized by category and subcategory labels 308, 309 (or other descriptors). Individual collections (or portions thereof) may be specified by a user, collaborator (users operating different computing devices and collaborating on the same graphic design), or a third party. In some examples, a third party may transmit one or more collections 310 to individual users (or their respective computing devices). For example, GDS 100 may use a programmatic application programming interface (e.g., a REST API) to receive a collection of variable data structures (and their updates) from a selected or specified third-party source.
[0070] Figure 3B illustrates a panel interface 320 for defining variable data structures.Panel 320 provides an interface that allows a user to view, edit, or create variable data structures. In the example shown, panel 320 allows the user to provide an identifier 321 and other descriptors, as well as specifying the attribute types (e.g., spacing, size, radius) for the layers associated with the variable data structures. Thus, when a user associates a layer (e.g., radius) with a variable data structure, the attributes of the layer to be represented by that variable data structure are specified by the variable data structure itself.
[0071] Figure 3C illustrates an interface 330 for displaying a set 310C containing multiple variable data structures 313, where each variable data structure 312 contains multiple alternative (or possible) values 315A, 315B. The set 310C can be structured such that each column 331, 332 in the set is associated with a theme. When the values of each column 331 and 332 are associated with the corresponding theme (e.g., light theme, dark theme), the values constituting that column can be selected all at once, so that each variable data structure 312 in the set has a value associated with the same theme. In some examples, interface 330 may include a selection mechanism or otherwise associated with the selection mechanism, allowing the user to switch between different theme value sets of variable data structure 312 in set 310. For example, a designer can switch between light and dark modes of a graphic design simply by selecting between columns 331 or 332 of interface 330.
[0072] In some examples, columns 331 and 332 of the set may represent alternative theme value sets of variable data structures in the set. For example, these theme value sets may represent alternative modes (e.g., light mode, dark mode) for implementing a graphic design in a production environment. For such theme sets, set 310 includes variable data structures 312 that have a color data type and contain each of the following: a corresponding first set of values representing the corresponding color of a first theme (e.g., light mode), and a second set of values representing the corresponding color of a second theme (e.g., dark mode). By using a set of alternative theme values for variable data structures, designers can more efficiently view and edit graphic designs to accommodate all alternative implementation patterns. For example, a designer might only need to edit one layer of a first-class attribute (e.g., corner shape) to make the modified layer usable in both light and dark modes. The use of theme value sets can be applied to all types of variable data structures to accommodate the various variations that graphic designs may require in a production environment.For example, alternative adjustments to the graphic design may be necessary to accommodate (i) different operating modes (e.g., light mode, dark mode), (ii) multiple display sizes (e.g., compact mobile devices versus large desktops), (iii) arrangements between platforms and operating systems, (iv) color rendering discrepancies between different computing environments, and / or (v) functional or performance differences between different computing environments.
[0073] Therefore, as a supplement or variation, set 310 may include variable data structure 312 whose numerical types reflect shape, size (e.g., dimensions on a single or dual axis), spacing, position, or other numerical attributes. The subject value set may present alternative versions of the graphic design, where the shape, size, and / or positioning of layers differ to reflect differences in the production environment implementation of the graphic design. These differences may reflect, for example: (i) adaptability to alternative types of computing devices (e.g., smaller-screen mobile devices may require compressing the user interface containing the graphic design to fit the display size), and (ii) rendering differences on different computing platforms.
[0074] As an additional illustrative example, the theme value set may contain Boolean values of variable data structures, where, for example, the Boolean value indicates whether an attribute or feature identified by the corresponding variable data structure is on or off (e.g., whether it is rendered or not in a production environment). Therefore, for example, in a mobile environment, the functionality available to the user may be reduced to accommodate smaller screen sizes.
[0075] FIG3D illustrates a panel that allows a user to switch the value sets of variable data structures in a collection. Panel 336 may be equipped with, for example, a design interface 310. Panel 336 may include functionality 337 that allows the user to select a specific collection (e.g., “semantic colors”), and functionality for being able to select a value set in the collection from one associated with the current theme (e.g., “light mode”) to another theme (e.g., “dark mode”).
[0076] FIG3E illustrates an example interface 340 for utilizing the theme values of a collection 310 of variable data structures 312 having string value data types. In the example shown, variable data structure 312 contains alternative string values 315A, 315B, and 315C for the same content in different languages (e.g., English, French, German, etc.). These sets of topic values can determine the language of the text content provided on a screen, page, or other part of the graphic design.
[0077] Figure 3F illustrates determining the value of a stateful layer based on an application expression of one or more examples. In Figure 3F, a user can interact with the design interface to set the value of the variable data structure to an expression. In the example shown, a portion of the graphic design corresponding to screen 355 is rendered into design interface 130. Furthermore, the design interface can also provide a separate variable / attribute panel 358, allowing the user to configure variable data structures and logic in simulation mode to implement stateful design elements.For example, panel 358 allows the user to specify a state change or value by performing action 359 and specifying variable data structures (e.g., “fullprice”, “figplantcount”, and “figplantprice”). In the example, expression 11 / 14 page 14 CN 121464417 A sets the value of variable “fullprice” to the product of variables “figplantcount” and “figplantprice”. This expression can be resolved into numbers rendered as the content of layer 351. Thus, layer 351 can be a stateful layer containing content representing the current value of the user's shopping cart. Interface 350 can be designed to include interactive and stateful elements, including item selection functionality 349 and total amount layer 351. During simulation mode, the user can interact with item selection layer 349 to select the number of fig seedlings. The item selection layer 349 may contain sub-layer elements 347a and 347b, and these sub-layer elements 347a and 347b may be associated with a corresponding variable data structure “figplantcount” via a click action. The variable data structure “figplantcount” may contain an expression value used to maintain a count of the number of selected items. For example, in response to a click action on sub-layer element 347a, the expression for “figplantcount” increases the value of “figplantcount”; in response to a click action on sub-layer element 347b, the expression for “figplantcount” decreases the value of “figplantcount”.
[0078] As shown in the example, a logical expression is provided for stateful elements, which is resolved into a dynamic value based on state changes that occur during the graphic design simulation rendering (e.g., user-provided state). In this way, various aspects of the simulation rendering are dynamically determined as state changes occur during the simulation (e.g., in response to user input). Although the dynamic expression is resolved into a number in the example, in a variant, the dynamic expression can be used to resolve into any of a variety of value types, including string values, boolean values, etc. Furthermore, logical expressions can contain various types of logic, including Boolean logic and arithmetic operations.
[0079] When the simulation mode is implemented, the content of layer 351 will also change its state in response to the change of the “figplantcount” value, and its content will reflect the monetary value selected by the user (consistent with the value of the corresponding item). For example, when the simulation mode is initially implemented, the content of layer 351 can be rendered as “$0”, and the number of selected items is “0”.Subsequently, when the user interacts with child elements 347a and 347b, the variable data structure “figplantcount” is iterated, and the activity value of layer 351 is calculated based on the expression value of the corresponding variable data structure (e.g., “figplantcount” * “figplantprice”). In the example shown, the user can also interact with, for example, “figcountprice” to directly manipulate the rendered value. The simulation engine 132 can cache, for example, the activity value and use it to determine the activity values of other variable data structures that depend on the activity value.
[0080] Figure 4 illustrates another example of a graphical design system using variable data structures according to one or more embodiments. Referring to Figure 4, a portion of a graphical design rendered on a canvas of a design interface is shown. The graphical design contains multiple layers, including a screen layer 402, an avatar layer 404, and a set of button layers 410, which includes a cat button layer 412, a dog button layer 414, and a squirrel button layer 416. The avatar layer 404 may include elements corresponding to label 403 (string value) and graphic content component 407. Each button in the button layer 410 includes a string attribute corresponding to the text content of the frame object. Furthermore, the graphic design includes a variant component layer (“Animal”) 430, which includes variants including a squirrel variant 432, a dog variant 434, and a cat variant 436. Attributes of sublayers may include corresponding text string identifiers 431 and images 433.
[0081] In the illustrated example, a variable input panel 440 may be provided as part of the design interface 130 (see FIG. 1), allowing the user to specify and configure logical relationships between specific layers and variable data structures. The user can interact with the variable input functionality 440 of the design interface 130 (see FIG. 1) to construct logical relationships between a given layer and its corresponding variable data structure. By interacting with the variable input function 440, a user can specify an action 441 (e.g., click, hover, double-click, etc.) to trigger an association between a corresponding layer (e.g., the cat button layer 412) and an identified variable data structure 445 (e.g., a variable data structure labeled "avatar" or "avatar variable"). Furthermore, the user can provide input 442 to specify the nature of the logical relationship. In the example shown, the nature of the logical relationship is that, in response to the action 441 performed on the cat button layer 412, the associated variable data structure is set to have a specific value 443. The specific value 443 may correspond to a string value (e.g., "cat") specified by the designer when interacting with the input function 440. In a variant, the specific value 443 of the avatar variable may be based on an attribute of the value setting layer specification page 12 / 14, CN 121464417 A.For example, the string attribute (“cat”) of the cat layer 412 can be extracted and used as the identifier value 443 of the corresponding variable data structure.
[0082] The variable input panel 440 allows designers to create and configure logical relationships similar to the logical relationships between the avatar variable and each of the dog button layer 414 and the squirrel button layer 416. For example, a user can interact with the variable input function 440 to specify the corresponding action 441 (e.g., click), the variable data structure associated with the relationship (e.g., “variable avatar”), and the string value to be set for the avatar value when the selected action is performed.
[0083] For the avatar layer 404, the text element 403 can be set by the avatar variable 445. In the example, the simulation interface can utilize additional logic to associate the graphical content component 407 with an object having a matching string identifier. Thus, the string identifier can identify one of the variant objects, and the graphical content component 407 can use the image of the variant whose text identifier matches the specified string value 443.
[0084] After the logical relationship configuration is completed, the rendering engine 120 can implement a simulation mode to render a simulation of the graphic design. During the simulation, a specified part of the graphic design (e.g., screen layer 402) is displayed on the simulated display screen (e.g., a mobile device screen). The user can interact with any of the button layer set 410 (e.g., click), so that the string value of the avatar variable 445 is set by a specific value 443 (e.g., "dog", "cat", "squirrel") associated with the corresponding soft button layers 412, 414, 416. During the simulation, the text string element 403 of the avatar layer can be set by the string value of the clicked button layer. In addition, there is a simulation interface 132 (see FIG. 1).
[0085] Network Computer System FIG. 5 illustrates a computer system that can implement one or more embodiments. The computer system 500 can be implemented on, for example, a server or a combination of multiple servers. For example, the computer system 500 can be implemented as the network computing system 150 in FIG. 1A to FIG. 1C.
[0086] In one embodiment, the computer system 500 includes processing resources 510, memory resources 520 (e.g., read-only memory (ROM) or random access memory (RAM)), one or more instruction memory resources 540, and a communication interface 550. The computer system 500 includes at least one processor 510 for processing information stored in the memory resource 520, such as information provided by random access memory (RAM) or other dynamic storage devices for storing information and instructions executable by the processor 510. The memory resource 520 may also be used to store temporary variables or other intermediate information during the execution of instructions executed by the processor 510.
[0087] Communication interface 550 enables computer system 500 to communicate with one or more user computing devices via one or more networks (e.g., cellular networks) using network link 580 (wireless or wired). Using network link 580, computer system 500 can communicate with one or more computing devices, dedicated devices and modules, and / or one or more servers.
[0088] In an example, processor 510 can execute service instructions 522 stored in memory resource 520 to enable the network computing system to implement network service 172 and operate as network computing system 170, as in the examples described in Figures 1A through 1C.
[0089] Computer system 500 may also include additional memory resources (“instruction memory 540”) for storing executable instruction sets (“IGDS instructions 545”) embedded in web pages and other network resources to enable user computing devices to implement functions such as those described with respect to system 100.
[0090] Therefore, the examples described herein are all related to implementing the techniques described herein using computer system 500. According to one aspect, computer system 500 implements techniques in response to processor 510 executing one or more sequences of one or more instructions contained in memory 520. These instructions may be read into memory 520 from other machine-readable media. The sequence of instructions contained in memory 520 causes processor 510 to perform the processing steps described herein. In alternative implementations, hard-wired circuitry may be used in place of or in combination with software instructions to implement the examples described herein. Therefore, the described examples are not limited to any particular combination of hardware circuitry and software.
[0091] User Computing Device FIG6 illustrates a user computing device for one or more examples, as described above. In the examples, user computing device 600 may correspond to, for example, a workstation, desktop computer, laptop computer, or other computer system with graphics processing capabilities suitable for rendering design interfaces and performing graphic design work. In some variations, user computing device 600 may correspond to a mobile computing device, such as a smartphone, tablet, laptop computer, VR or AR headset, etc.
[0092] For example, computing device 600 includes a central processing unit or main processor 610, a graphics processing unit 612, memory resources 620, and one or more communication ports 630. Computing device 600 can use the main processor 610 and memory resources 620 to store and launch a browser 625 or other web-based applications.Users can use communication port 630 to operate browser 625 to access the website of web service 152, thereby downloading one or more web pages or other resources 605 for web service 152 (see Figures 1A-1C). These web resources 605 can be stored in active memory 624 (cache).
[0093] As described in various examples, processor 610 can detect and execute scripts and other logic embedded in web resources to implement system 100 (see Figures 1A-1C). In some examples, certain scripts 615 embedded in web resources 605 may contain GPU-accelerated logic executed directly by GPU 612. Main processor 610 and GPU can work together to render the design interface being edited (“DIUE 611”) on display component 640. The rendered design interface may contain web content from browser 625, as well as design interface content and functional elements generated by scripts and other logic embedded in web resources 605. As described in various examples, by including a script 615 that can be executed directly on the GPU 612, the logic embedded in the Web resource can perform better in system 100.
[0094] Conclusion Although examples have been described in detail herein with reference to the accompanying drawings, it should be understood that these concepts are not limited to these specific examples. Therefore, the scope of these concepts is intended to be defined by the following claims and their equivalents. Furthermore, it is contemplated that a particular feature described separately or as part of an example may be combined with other separately described features or portions of other examples, even if the other features and examples do not mention the particular feature. Therefore, the absence of a described combination should not preclude the right to claim such combination. Instruction Manual Page 14 / 14 17 CN 121464417 A Figure 1 Figure 2A Instruction Manual Appendix 1 / 9 Page 18 CN 121464417 A Figure 2B Figure 2C Figure 3A Instruction Manual Appendix 2 / 9 Page 19 CN 121464417 A Figure 3B Instruction Manual Appendix 3 / 9 Page 20 CN 121464417 A Figure 3C Instruction Manual Appendix 4 / 9 Page 21 CN 121464417 A Figure 3D Instruction Manual Appendix 5 / 9 Page 22 CN 121464417 A Figure 3E Instruction Manual Appendix 6 / 9 Page 23 CN 121464417 A Figure 3F Instruction Manual Appendix 7 / 9 Page 24 CN 121464417 A Figure 4 Instruction Manual Appendix 8 / 9 Page 25 CN 121464417 A Figure 5 Figure 6 Instruction Manual Appendix 9 / 9 Page 26 CN 121464417 A.
Claims
1. A computer system, comprising: One or more processors; The memory is used to store a set of instructions; The one or more processors are operable to execute instructions stored in the memory to perform operations, including: Provides a design interface for graphic design; Implement a variable data structure for use with the graphical design, the variable data structure being defined at least in part by multiple values and value types; and Link the multi-state design elements to the variable data structure such that each of the multiple states is at least partially based on a corresponding value of the value type.
2. The computer system as claimed in claim 1, wherein, The operation also includes: During the design phase, a simulation of the graphical design is performed on the scenario where the graphical design is deployed in a production environment by rendering the multi-state design elements sequentially in each of the multiple states based on the variable data structure.
3. The computer system as described in claim 1, wherein, The variable data structure includes multiple values of the value type, and linking the multi-state design element includes: rendering the multi-state design element in each state to include attribute values specific to that state and at least in part based on the corresponding values among the multiple values of the value type.
4. The computer system as described in claim 1, wherein, The value type of the variable data structure is a number representing the type of the design attribute of the multi-state design element.
5. The computer system as described in claim 4, wherein, The numbers represent one or more attributes corresponding to line attributes, corner attributes, or size attributes.
6. The computer system as claimed in claim 1, wherein, The value type of the variable data structure is a color value representing one or more of the fill attribute, line color attribute, and / or background attribute.
7. The computer system as claimed in claim 1, wherein, The value type of the variable data structure is a string representing a text attribute.
8. The computer system as claimed in claim 1, wherein, The value type of the variable data structure is a string representing a layer with attributes that match text content.
9. The computer system as claimed in claim 1, wherein, The corresponding values of the variable data structure are defined, at least in part, by a logical expression and at least one of the following: (i) user input, and / or (ii) an attribute of another design element associated with the variable data structure.
10. The computer system as claimed in claim 1, wherein, The operation also includes: Associate another design element of the graphic design with the variable data structure, wherein the corresponding value of the variable data structure is based at least in part on the attributes of the associated design element.
11. The computer system of claim 10, wherein, The operation also includes: In response to user input modifying the attributes of the associated layer, the corresponding values of the variable data structure are updated based on the modified attributes.
12. The computer system as claimed in claim 1, wherein, The operation also includes: Allows users to specify interactions with the multi-state design elements; and In response to the detection of the interaction with the multi-state design element, the corresponding value of the variable data structure is updated or selected based on the attributes of the associated design element.
13. The computer system of claim 12, wherein, The operation also includes: Enable simulation mode, in which multiple states of the multi-state design element can be rendered sequentially; Allowing the user to perform the interaction with the associated design element during the simulation mode; and In response to the user's action, the corresponding value of the variable data structure is updated or selected.
14. A computer-implemented method, comprising: Provides a design interface for graphic design; Implement a variable data structure for use with the graphical design, the variable data structure being defined at least in part by a value type; as well as Link a multi-state design element with multiple states to the variable data structure such that each of the multiple states is at least partially based on a corresponding value of the value type.
15. The computer implementation method as described in claim 14, wherein, The method further includes: During the design phase, a simulation of the graphical design is performed on the scenario where the graphical design is deployed in a production environment by rendering multi-state design elements sequentially in each of the multiple states based on the variable data structure.
16. The computer implementation method as described in claim 14, wherein, The variable data structure includes multiple values of the value type, and linking the multi-state design element includes: rendering the multi-state design element in each state to include attribute values specific to that state and at least in part based on the corresponding values among the multiple values of the value type.
17. The computer implementation method as described in claim 14, wherein, The value type of the variable data structure represents an attribute corresponding to one or more of the line attribute, corner attribute, or size attribute, or represents a color value of one or more of the fill attribute, line color attribute, and / or background attribute.
18. The computer implementation method as described in claim 14, wherein, The corresponding values of the variable data structure are defined, at least in part, by a logical expression and at least one of the following: (i) user input, and / or (ii) an attribute of another design element associated with the variable data structure.
19. The computer implementation method as described in claim 14, wherein, The method also includes: Allows users to specify interactions with the multi-state design elements; and In response to the detection of the interaction with the multi-state design element, the corresponding value of the variable data structure is updated or selected based on the attributes of the associated design element.
20. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors of a graphics design system, cause the graphics design system to perform operations, the operations comprising: Provides a design interface for graphic design; Implement a variable data structure for use with the graphical design, the variable data structure being defined at least in part by a value type; as well as Link a multi-state design element with multiple states to the variable data structure such that each of the multiple states is at least partially based on a corresponding value of the value type.
