CN113836872A - Page diagram object editing method, device, equipment and readable medium - Google Patents

Page diagram object editing method, device, equipment and readable medium Download PDF

Info

Publication number
CN113836872A
CN113836872A CN202110990697.1A CN202110990697A CN113836872A CN 113836872 A CN113836872 A CN 113836872A CN 202110990697 A CN202110990697 A CN 202110990697A CN 113836872 A CN113836872 A CN 113836872A
Authority
CN
China
Prior art keywords
editing
item
edit
trigger operation
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110990697.1A
Other languages
Chinese (zh)
Inventor
李慧洁
王波
蒋品
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Beijing Guangqiyuan Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Guangqiyuan Digital Technology Co ltd filed Critical Beijing Guangqiyuan Digital Technology Co ltd
Priority to CN202110990697.1A priority Critical patent/CN113836872A/en
Publication of CN113836872A publication Critical patent/CN113836872A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Abstract

The embodiment of the specification discloses a method, a device, equipment and a readable medium for editing page chart objects. The scheme may include: acquiring an editing triggering operation of a user; in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram; acquiring at least one editing item corresponding to the target graphic object; displaying the at least one edit item.

Description

Page diagram object editing method, device, equipment and readable medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer-readable medium for editing a page chart object.
Background
With the popularization of big data concepts, users in all industries have a great demand for big data visualization. During the process of constructing, editing and using the data visualization page, a user may need to perform editing operation on a page object in the page.
Currently, when a user edits a page object in a page, the user needs to find an edit item corresponding to the page object to be edited on an edit panel. In particular, for the page chart object, since the chart includes many graphic objects such as graphs, legends, coordinate axes, coordinates, etc., and each graphic object corresponds to many editing items such as colors, sizes, shades, etc., however, there is no clear correspondence between each editing item and each graphic object in the chart object in the editing panel. This results in that the user needs to spend a long time searching the required editing items to accurately implement the editing of the corresponding graphic objects, which is inefficient.
Therefore, it is desirable to provide a more efficient method for editing page diagram objects.
Disclosure of Invention
Embodiments of the present specification provide a method, an apparatus, a device, and a computer readable medium for editing a page chart object, so as to solve the problems of complicated user editing operation and low editing efficiency of the existing page chart object editing method.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
the method for editing page diagram objects provided by the embodiment of the specification comprises the following steps: acquiring an editing triggering operation of a user; in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram; acquiring at least one editing item corresponding to the target graphic object; displaying the at least one edit item.
An apparatus for editing a page diagram object provided in an embodiment of the present specification includes: the editing trigger operation acquisition module is used for acquiring the editing trigger operation of a user; a target graphic object determination module, configured to determine, in response to the editing trigger operation, a target graphic object for which the editing trigger operation is directed; the target graphical object is contained in the page diagram; the editing item acquisition module is used for acquiring at least one editing item corresponding to the target graphic object; a display module for displaying the at least one edit item.
An apparatus for editing a page diagram object provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring an editing triggering operation of a user; in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram; acquiring at least one editing item corresponding to the target graphic object; displaying the at least one edit item.
Embodiments of the present specification provide a computer readable medium having stored thereon computer readable instructions executable by a processor to implement a method for editing a page diagram object.
One embodiment of the present description can achieve at least the following advantages: after receiving an editing triggering operation of a user on a target graphic object in a page chart object, calling at least one preset editing item which corresponds to the target graphic object and can be used for editing the target graphic object for the user to edit, therefore, the user can directly select an editing item which corresponds to an attribute to be edited from the at least one editing item to edit the target graphic object in the page chart without manually searching each editing item which is related to the target graphic object to be edited from an editing panel one by one, operation steps and time of the user are saved, page editing efficiency of the user is improved, and particularly, for a new user of a visual page editing tool, a threshold of using the page editing tool is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of a method for editing a page diagram object according to an embodiment of the present disclosure;
fig. 2 is a schematic view of an editing page of a method for editing a page diagram object in an actual application scenario provided in the embodiment of the present specification;
fig. 3 is a schematic structural diagram of a page diagram object editing apparatus corresponding to fig. 1 according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a page diagram object editing apparatus corresponding to fig. 1 provided in an embodiment of this specification.
Detailed Description
In practical applications, when page building is performed, page elements of the chart type may be drawn using a Canvas. A diagram as a whole drawn by a Canvas may be considered as a dom element in a page. For each dom element in the html page, the whole of the dom element can respond to the mouse event.
Currently, in a common visual page editing tool, editing of a page chart object is performed through a code or an editing panel. Although the manner of editing through the editing panel provides a certain convenience for the user compared with code editing, for a page chart object containing a plurality of graphic objects, since the page chart object is a dom element as a whole, when the page chart object is edited through the editing panel, only all editing items corresponding to the page chart can be displayed in the editing panel, and the user still needs to manually filter or search the target editing item related to the target graphic object to be edited from all displayed editing items.
For example, in response to a trigger event for a certain chart, all editorial items corresponding to the chart, including both editorial items for the title and editorial items for the legend, coordinate axis, graphic, etc., are displayed in the editing panel, and when a user needs to edit the title of the chart, the editorial items related to the title of the chart need to be manually searched or screened from all the editorial items. Therefore, in the existing chart editing method, the user operation is complicated, and the page editing efficiency is low. In particular, it is more difficult for a new user who just touches the visual page editing tool to quickly find the editing item that is desired to be used from the editing panel.
In order to solve the defects in the prior art, in the method for editing a page chart object provided by the embodiments of the present specification, after receiving an editing trigger operation of a user for the page chart object, the list of editorial items corresponding to the target graphic object in the page chart object may be called up directly, the edit item list comprises each edit item which can be used for editing the page chart object, therefore, a user can directly select the edit item corresponding to the attribute to be edited from the edit item list for editing, and based on the scheme, the user does not need to manually search each edit item related to the page chart object to be edited from the edit panel one by one, thereby saving the operation steps and time of the user, improving the page editing efficiency of the user, and particularly, for new users of the visual page editing tool, the threshold for using the page editing tool is lowered.
To make the objects, technical solutions and advantages of one or more embodiments of the present disclosure more apparent, the technical solutions of one or more embodiments of the present disclosure will be described in detail and completely with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given herein without making any creative effort fall within the protection scope of one or more embodiments of the present disclosure.
It is to be understood that, although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a method for editing a page diagram object according to an embodiment of the present disclosure. From the viewpoint of the program, the execution subject of the flow may be the program installed in the application terminal. In embodiments of the present description, the execution subject of the flow may be a page editing program, for example, a visual page editing tool.
As shown in fig. 1, the process may include the following steps:
step 102: and acquiring the editing trigger operation of the user.
Wherein the user may be a user using a visual page editing tool. The chart object may be a page chart object in a page to be edited.
When a user needs to edit a chart object, an editing trigger operation needs to be executed. Specifically, the editing trigger operation may include at least one of a mouse trigger operation or a touch screen trigger operation.
Optionally, if the terminal device used by the user has an external mouse device or a touch pad, for example, a computer, a notebook computer, or the like, the user may trigger the editing of the page chart object by operating the mouse through the external mouse or the touch pad. Optionally, if the terminal device used by the user has a touch screen, for example, a tablet computer, a smart phone, or the like, the user may trigger the editing of the page chart object by controlling the operation of the touch screen through a finger or a stylus.
Specifically, the editing trigger operation may include performing a click operation, a double click operation, a right click operation, and the like in a predetermined area, performing a selection operation, a drag operation, and the like on a predetermined object, and staying a mouse in a set area for a set duration, and the like, which is not limited thereto. The specific conditions to be met by the editing triggering operation can be preset according to the needs.
Step 104: in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram.
In the embodiments of the present specification, a plurality of graphic objects may be included in one chart object. The graphical objects may include chart titles, chart graphics, chart coordinate axes, chart coordinates, and the like.
In actual application, after the user performs the editing trigger operation, the execution subject needs to determine the target graphic object for which the editing trigger operation of the user is directed based on the operation of the user. Optionally, after the user performs the editing triggering operation in the display area of the page chart object containing a plurality of graphic objects, the execution subject needs to further determine whether the object targeted by the operation is the whole page chart object (i.e., all the graphic objects in the page chart object) or one or more graphic objects in the page chart object. For example, for a certain chart object, the user may edit the font size of the graphic object, which is the legend in the chart object, or may edit the font sizes of the characters included in all the graphic objects in the chart object at the same time.
Specifically, the receiving of the edit triggering operation of the user for the target graphic object in the chart object may specifically include: receiving an editing triggering operation of a user, wherein the editing triggering operation is used for triggering the editing of a page chart object; then, in response to the editing trigger operation, a target graphic object to which the editing trigger operation is directed is determined.
Specifically, the determining, in response to the editing trigger operation, a target graphic object for which the editing trigger operation is specific may specifically include: judging whether the editing triggering operation meets an editing triggering condition in a preset triggering operation monitoring event or not to obtain a first judgment result; and if the first judgment result shows that the editing triggering operation accords with the editing triggering condition in the preset triggering operation monitoring event, determining the corresponding graphic object in the preset triggering operation monitoring event as the target graphic object aimed by the editing triggering operation.
Before determining whether the editing trigger operation meets an editing trigger condition in a preset trigger operation monitoring event, the method may further include: establishing a trigger operation monitoring event; the triggering operation monitoring event comprises an editing triggering condition and graphical object information triggering editing.
In practical applications, the page diagram object is drawn by a Canvas. And when the Canvas draws the page chart object, each closed graph object in the page chart object can be generated based on beginPath and closePath through a path drawing method of the Canvas. Thus, each graphical correspondence may have a corresponding trigger coordinate range.
According to an optional embodiment of the present specification, a trigger operation snoop event may be preset for each graphics object, and in the snoop event, for example, an isPointInPath method may be used to determine whether a starting point is on a target graphics object, for example, clicking or hovering on the target graphics object.
Therefore, optionally, before determining whether the editing trigger operation meets the editing trigger condition in the preset trigger operation listening event, the method may further include: and determining trigger coordinate information of the editing trigger operation. Correspondingly, the determining whether the editing trigger operation meets an editing trigger condition in a preset trigger operation monitoring event may specifically include: and judging whether the trigger coordinate is in a trigger coordinate range corresponding to the target graphic object.
In addition, in practical applications, the user may also select two or more graphical objects at the same time, and perform editing operations on the selected two or more graphical objects at the same time. For example, the colors of a plurality of graphic objects (e.g., graphic objects a and b) in the same chart are collectively set to black and white, or collectively set to a certain font type, or the like. Alternatively, two or more graphic objects simultaneously selected by the user may be located in different charts, for example, a graphic object (e.g., graphic object a) in one chart and a graphic object (e.g., graphic object c) in another chart may be uniformly set to black and white, or a certain font type, and the like.
Step 106: and acquiring at least one editing item corresponding to the target graphic object.
In an optional embodiment, the obtaining of the at least one editing item corresponding to the target graphic object may specifically include: determining an editing item list identifier corresponding to the target graphic object; and then acquiring at least one editing item corresponding to the editing item list identification according to the editing item list identification.
Wherein the edit item list may be preset. For example, the setting may be performed in advance by a developer who executes a page editing program of the subject, or may be performed in advance by a user and stored. In practical application, if the editor list is preset by a developer of the page editor, the user may adjust the preset editor list corresponding to each graphic object according to his own requirements during practical use.
In an optional embodiment, before determining the editlist identifier corresponding to the target graphical object, the method may further include: acquiring the edit item selection operation of a user; establishing an editing item list identifier of an editing item list formed by at least one editing item selected by the editing item selection operation; and establishing an incidence relation between the target graphic object and the editing item list identification.
In practical applications, one list of editing items contains at least one editing item, and the at least one editing item can be suitable for editing the corresponding target graphic object. The edit item lists corresponding to different graphic objects may be the same or different, that is, the edit items contained in the encoded edit item lists corresponding to different graphic objects may be completely the same or not completely the same. In general, different editing terms may be used to edit different properties. For example, the edit items may include a width edit item, a space edit item, a line type edit item, a font size edit item, a color edit item, and the like.
In addition, in practical applications, when a plurality of graphic objects are included in the page chart object, the edit item list corresponding to each graphic object may be acquired, and the total edit item list may be generated based on the edit item list corresponding to each graphic object.
Step 108: displaying the at least one edit item.
In actual application, the manner or the position of displaying the at least one edit item may be preset by a developer executing a page editing program of the subject, or may be preset by a user.
Optionally, the displaying the at least one edit item specifically may include: displaying the at least one edit item in an edit panel of a user editing interface; the editing panel is located in a fixed area in the user editing interface. In practical applications, before the implementation of the solution of the embodiment of the present specification, all the editing items developed by a developer may be displayed in the editing panel (for example, the editing items may be displayed in groups according to a classification rule set by a business or an operator), and when the solution of the embodiment of the present specification is implemented and the at least one editing item is displayed, the at least one editing item may be displayed in the editing panel to replace originally displayed content.
Additionally, optionally, the displaying the at least one edit item specifically may include: displaying the at least one edit item in a peripheral region of the chart object in a user editing interface; the list of edit items is displayed so as not to obscure the chart object. Specifically, the at least one editing item may be displayed, for example, in the form of a floating window, and the floating window may be provided with a close button so that a user may compare the floating window after the input of the editing information is completed.
In an embodiment of the present specification, after displaying the at least one edit item, the method may further include: acquiring editing information input by a user aiming at the at least one editing item; and then rendering the chart object according to the editing information.
In particular, after displaying the at least one editing item, the user may enter editing information for one or more editing items in the list of editing items for editing one or more properties in the graphical object. Specifically, the operation of inputting the editing information may include a text input operation, a control adjustment operation, an information selection operation, and the like, without being limited to these examples.
In actual application, optionally, editing information input by a user on an editing item may be acquired in real time, and the chart object may be rendered according to the editing information acquired in real time. Or alternatively, a confirmation operation of the user for the editing information may be acquired, and then the chart object may be rendered according to the editing information input by the user in response to the confirmation operation.
In an embodiment of the present specification, the page diagram object editing method may be applied to a web page.
It should be understood that in the method described in one or more embodiments of the present disclosure, the order of some steps may be adjusted according to actual needs, or some steps may be omitted.
In the method in fig. 1, after receiving an editing trigger operation of a user for a target graphic object in a page chart object, at least one preset editing item which corresponds to the target graphic object and is available for editing the target graphic object is called for the user to edit, so that the user can directly select an editing item which corresponds to an attribute to be edited from the at least one editing item to edit the target graphic object in the page chart object, without manually searching each editing item which is related to the target graphic object to be edited from an editing panel one by one, thereby saving operation steps and time of the user, improving page editing efficiency of the user, and in particular, reducing a threshold for using a page editing tool for a new user of a visual page editing tool.
According to the above description, an editing page schematic diagram of a method for editing a page diagram object in an actual application scenario provided in the embodiments of the present specification is shown in fig. 2.
In fig. 2, a page object display area 21 and an edit panel area 22 may be included in the edit page. As an example, a page object 211 (company logo), a page object 212 (time), and a page object 213 (basic histogram) are shown in the page object display area 21, where the page object 213 is a page diagram object.
In practical applications, when the user performs an editing trigger operation on a page chart object, the target page chart object to which the editing trigger operation of the user is directed may be determined as the page chart object 213 according to the position of the editing trigger operation of the user. And more specifically, in the example of fig. 2, it may be determined that the user editing triggered operation is a graphical object 2131 (chart title component) in page chart object 213. Therefore, the edit item list 214 corresponding to the graphic object 2131 in the page chart object 213 stored in advance may be called in response to an edit trigger operation by the user. Thereafter, the graphic object 2131 or the page chart object 213 may be re-rendered in response to the edit information input for each edit item in the edit item list 214.
Although the user trigger operation is shown as a touch screen trigger operation in which the user touches the screen in fig. 2, in practical applications, the user may also perform a mouse trigger operation by using an external mouse or a touch pad.
Although it is shown in fig. 2 that the edit item list is displayed in such a manner that the edit item list 214 is displayed in the edit panel area 22, in an actual application, the edit item list 214 may also be displayed in the form of a floating window in the page chart object display area 21, in which case all edit items developed by the developer remain displayed in the edit panel area 22.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 3 is a schematic structural diagram of a page diagram object editing apparatus corresponding to fig. 1 according to an embodiment of the present disclosure. As shown in fig. 3, the apparatus may include:
an editing trigger operation obtaining module 302, configured to obtain an editing trigger operation of a user;
a target graphical object determination module 304, configured to determine, in response to the editing trigger operation, a target graphical object for which the editing trigger operation is directed; the target graphical object is contained in the page diagram;
an edit item obtaining module 306, configured to obtain at least one edit item corresponding to the target graphics object;
a display module 308 for displaying the at least one edit item.
It will be appreciated that the modules described above refer to computer programs or program segments for performing a certain function or functions. In addition, the distinction between the above-described modules does not mean that the actual program code must also be separated.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method.
Fig. 4 is a schematic structural diagram of a page diagram object editing apparatus corresponding to fig. 1 provided in an embodiment of this specification. As shown in fig. 4, the apparatus 400 may include:
at least one processor 410; and the number of the first and second groups,
a memory 430 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 430 stores instructions 420 executable by the at least one processor 410 to enable the at least one processor 410 to:
acquiring an editing triggering operation of a user;
in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram;
acquiring at least one editing item corresponding to the target graphic object;
displaying the at least one edit item.
Based on the same idea, the embodiment of the present specification further provides a computer-readable medium corresponding to the above method. The computer readable medium has computer readable instructions stored thereon that are executable by a processor to implement the method of:
acquiring an editing triggering operation of a user;
in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram;
acquiring at least one editing item corresponding to the target graphic object;
displaying the at least one edit item.
While particular embodiments of the present specification have been described above, in some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in this specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other.
The apparatus, the device, and the method provided in the embodiments of the present specification are corresponding, and therefore, the apparatus and the device also have beneficial technical effects similar to those of the corresponding method, and since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus and device are not described again here.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information which can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (15)

1. A method for editing page diagram objects comprises the following steps:
acquiring an editing triggering operation of a user;
in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram;
acquiring at least one editing item corresponding to the target graphic object;
displaying the at least one edit item.
2. The method according to claim 1, wherein the acquiring of the edit trigger operation of the user specifically includes:
acquiring at least one of a mouse trigger operation or a touch screen trigger operation of a user.
3. The method according to claim 1, wherein the determining, in response to the edit trigger operation, a target graphical object for which the edit trigger operation is directed specifically includes:
judging whether the editing triggering operation meets an editing triggering condition in a preset triggering operation monitoring event or not to obtain a first judgment result;
and if the first judgment result shows that the editing triggering operation accords with the editing triggering condition in the preset triggering operation monitoring event, determining the corresponding graphic object in the preset triggering operation monitoring event as the target graphic object aimed by the editing triggering operation.
4. The method of claim 3, before determining whether the edit trigger operation meets an edit trigger condition in a preset trigger operation listening event, further comprising:
establishing a trigger operation monitoring event; the triggering operation monitoring event comprises an editing triggering condition and graphical object information triggering editing.
5. The method of claim 3, before determining whether the edit trigger operation meets an edit trigger condition in a preset trigger operation listening event, further comprising:
determining trigger coordinate information of the editing trigger operation;
the determining whether the editing trigger operation meets an editing trigger condition in a preset trigger operation monitoring event specifically includes:
and judging whether the trigger coordinate is in a trigger coordinate range corresponding to the target graphic object.
6. The method according to claim 1, wherein the obtaining of the at least one edit item corresponding to the target graphic object specifically includes:
determining an editing item list identifier corresponding to the target graphic object;
and acquiring at least one editing item corresponding to the editing item list identification according to the editing item list identification.
7. The method of claim 6, prior to said determining an editlist identification corresponding to said target graphical object, further comprising:
acquiring the edit item selection operation of a user;
establishing an editing item list identifier of an editing item list formed by at least one editing item selected by the editing item selection operation;
and establishing an incidence relation between the target graphic object and the editing item list identification.
8. The method according to claim 1, wherein the displaying the at least one edit item specifically includes:
displaying the at least one edit item in an edit panel of a user editing interface; the editing panel is located in a fixed area in the user editing interface.
9. The method according to claim 1, wherein the displaying the at least one edit item specifically includes:
displaying the at least one edit item in a peripheral region of the chart object in a user editing interface; the list of edit items is displayed so as not to obscure the chart object.
10. The method of claim 1, after displaying the at least one edit item, further comprising:
acquiring editing information input by a user aiming at the at least one editing item;
and rendering the chart object according to the editing information.
11. The method of claim 1, applied in a web page.
12. The method of claim 1, wherein the page diagram object is drawn by a Canvas.
13. A page diagram object editing apparatus comprising:
the editing trigger operation acquisition module is used for acquiring the editing trigger operation of a user;
a target graphic object determination module, configured to determine, in response to the editing trigger operation, a target graphic object for which the editing trigger operation is directed; the target graphical object is contained in the page diagram;
the editing item acquisition module is used for acquiring at least one editing item corresponding to the target graphic object;
a display module for displaying the at least one edit item.
14. A page chart object editing apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring an editing triggering operation of a user;
in response to the editing trigger operation, determining a target graphic object targeted by the editing trigger operation; the target graphical object is contained in the page diagram;
acquiring at least one editing item corresponding to the target graphic object;
displaying the at least one edit item.
15. A computer readable medium having stored thereon computer readable instructions executable by a processor to implement the page diagram object editing method of any one of claims 1 to 12.
CN202110990697.1A 2021-08-26 2021-08-26 Page diagram object editing method, device, equipment and readable medium Pending CN113836872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110990697.1A CN113836872A (en) 2021-08-26 2021-08-26 Page diagram object editing method, device, equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110990697.1A CN113836872A (en) 2021-08-26 2021-08-26 Page diagram object editing method, device, equipment and readable medium

Publications (1)

Publication Number Publication Date
CN113836872A true CN113836872A (en) 2021-12-24

Family

ID=78961393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110990697.1A Pending CN113836872A (en) 2021-08-26 2021-08-26 Page diagram object editing method, device, equipment and readable medium

Country Status (1)

Country Link
CN (1) CN113836872A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115048008A (en) * 2022-06-17 2022-09-13 浙江中控技术股份有限公司 Visualization method and device for objects in HMI (human machine interface) picture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115048008A (en) * 2022-06-17 2022-09-13 浙江中控技术股份有限公司 Visualization method and device for objects in HMI (human machine interface) picture
CN115048008B (en) * 2022-06-17 2023-08-15 浙江中控技术股份有限公司 Method and equipment for visualizing objects in HMI (human machine interface) picture

Similar Documents

Publication Publication Date Title
US6356281B1 (en) Method and apparatus for displaying translucent overlapping graphical objects on a computer monitor
CN107291347B (en) Information display method and device
CN107977155B (en) Handwriting recognition method, device, equipment and storage medium
CN105787402A (en) Information display method and device
CN108492349B (en) Processing method, device and equipment for writing strokes and storage medium
CN110286971B (en) Processing method and system, medium and computing device
CN111782114A (en) Element display method, device, equipment and medium in manuscript editing application
CN105184838A (en) Picture processing method and terminal
CN108241460A (en) Picture suspension display methods, system and computer readable storage medium
CN113836872A (en) Page diagram object editing method, device, equipment and readable medium
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN107562710B (en) Chart processing device and method
EP2708999A2 (en) Method for editing display information and electronic device thereof
US20200005733A1 (en) Placement of graphic elements of gui with region of interest
CN107818000B (en) Operation method and device of page table
CN105183707A (en) Content editing method and terminal
CN104407763A (en) Content input method and system
CN114518821A (en) Application icon management method and device and electronic equipment
CN114548040A (en) Note processing method, electronic device and storage medium
CN113360154A (en) Page construction method, device, equipment and readable medium
CN108491139B (en) Object fixing method and device, terminal equipment and storage medium
CN110058751B (en) Method and device for selecting electronic document content
CN108920241B (en) Display state adjusting method, device and equipment
CN110020285B (en) Histogram processing method and device
CN109948075B (en) Webpage data marking method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220708

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Applicant after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 100102 Room 203, 14 and 19, floor 2, building 19, Wangjing Dongyuan seventh district, Chaoyang District, Beijing

Applicant before: Beijing Guangqiyuan Digital Technology Co.,Ltd.

TA01 Transfer of patent application right