CN113946714A - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113946714A
CN113946714A CN202010698198.0A CN202010698198A CN113946714A CN 113946714 A CN113946714 A CN 113946714A CN 202010698198 A CN202010698198 A CN 202010698198A CN 113946714 A CN113946714 A CN 113946714A
Authority
CN
China
Prior art keywords
graph
information
view
node
editing
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
CN202010698198.0A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010698198.0A priority Critical patent/CN113946714A/en
Publication of CN113946714A publication Critical patent/CN113946714A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The embodiment of the application provides a data processing method, a data processing device, data processing equipment and a storage medium, so that a graph database can be constructed more conveniently. The method comprises the following steps: providing a visualization view and a table view; receiving operation instructions in the visual view, and creating a graph object according to the operation instructions, wherein the graph object comprises nodes and/or edges; and displaying an editing panel of the graph object so as to edit the object information of the graph object through the editing panel. The visual view and the table view are provided, so that various operation requirements of a user for the graph database are met, the graph object can be conveniently created in the visual view, the object information of the graph object can be conveniently edited, and the data processing efficiency is improved.

Description

Data processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.
Background
A graph database is a database that uses graph structures for semantic queries, which use nodes, edges, and attributes to identify and store data.
At present, nodes, edges and the like in a graph database are described in a form of a data table and the like, then a corresponding graph is obtained through conversion, the relationships of the nodes, the edges and the like are difficult to describe visually through the data table, and in the case of large data quantity, the construction of graph data is complex and difficult to create through the data table.
Disclosure of Invention
The embodiment of the application provides a data processing method, so that a graph database can be constructed more conveniently.
Correspondingly, the embodiment of the application also provides a data processing device, an electronic device and a storage medium, which are used for ensuring the implementation and application of the method.
In order to solve the above problem, an embodiment of the present application discloses a data processing method, including: providing a visualization view and a table view; receiving operation instructions in the visual view, and creating a graph object according to the operation instructions, wherein the graph object comprises nodes and/or edges; and displaying an editing panel of the graph object so as to edit the object information of the graph object through the editing panel.
The embodiment of the present application further discloses a data processing apparatus, including: a providing module for providing a visualization view and a table view; the creation module is used for receiving operation instructions in the visual view and creating graph objects according to the operation instructions, wherein the graph objects comprise nodes and/or edges; and the editing module is used for displaying an editing panel of the graph object so as to edit the object information of the graph object through the editing panel.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform a method as described in one or more of the embodiments of the application.
Embodiments of the present application also disclose one or more machine-readable media having executable code stored thereon that, when executed, cause a processor to perform a method as described in one or more of the embodiments of the present application.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, a visual view and a table view can be provided, so that various operation requirements of a user for a graph database can be met, after an operation instruction is received in the visual view, a graph object can be created according to the operation instruction, then an editing panel of the graph object is displayed, so that object information of the graph object can be edited through the editing panel, the graph object can be conveniently created in the visual view, the object information of the graph object can be conveniently edited, and the data processing efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an example of node creation in a visualization view according to an embodiment of the present application;
FIG. 2 is a flow chart of the steps of an embodiment of a data processing method of the present application;
FIG. 3 is a diagram illustrating an example of edge creation in a graph database according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an example of editing of an edge in a visualization view in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of an example of a visualization view of an embodiment of the present application;
FIG. 6 is a diagram of an example of a tabular view of an embodiment of the present application;
FIG. 7 is a diagram illustrating an example of a preview pane in a visualization view in accordance with an embodiment of the present application;
FIG. 8 is a flowchart of steps of a data processing method of the present application to create an instance of a node in an embodiment;
FIG. 9 is a flowchart of steps of a data processing method of the present application to create an instance of a node in an embodiment;
FIG. 10 is a block diagram of an embodiment of a data processing apparatus of the present application;
fig. 11 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The method and the device can be applied to various processing scenes based on the graph database. A graph database is a database that uses graph structures for semantic queries, which use nodes, edges, and attributes to identify and store data. A key concept in graph databases is a graph that directly associates data items in storage with data nodes and sets of edges between nodes that represent relationships. One graph in the graph database is composed of two types of graph objects (or graph elements), namely a node and an edge, and the edge can connect the two nodes. The graph in the graph database may also be referred to as a data instance, and the graph may be formed based on a graph model, where the graph model is a data model used to describe a graph structure in the graph database, and may also be regarded as a special graph structure, and corresponding data instances, that is, graphs, may be obtained by configuring corresponding information for nodes, edges, and the like in the graph model.
In the embodiment of the application, a visualization view and a table view are provided, and data stored in graph data in a graph form can be viewed through the visualization view, wherein the graph can be formed by graph objects, and the graph objects comprise nodes and edges, so that the data can be described through the graph objects. The table view is a view for displaying table data, which may display data stored in a table form, and the data may be data corresponding to a graph, including object information of graph objects such as nodes and edges in the graph. An example of a visualization view is shown in fig. 5 and a table view is shown in fig. 6.
Based on the provided visual view, the operations such as construction and editing of the graph database can be conveniently carried out, and the graph database can be switched to a table view to view the object information of the graph object. An example page schematic of a visualization view is shown in fig. 1. Referring to the flowchart of the steps of an embodiment of a data processing method shown in fig. 2, the method may include the following steps:
step 202, providing a visualization view and a table view. Wherein the visualization view is used for describing data through a graph object, the table view is used for recording object information of the graph object, and the graph object comprises nodes and/or edges.
In the example shown in fig. 1, the visual view includes an operation bar and a diagram display area, the operation bar includes a first creation control, a locking control, a search control and a switching control, wherein the first creation control is used for creating a node, such as a circular button on the operation bar in fig. 1; the locking control is used for locking information such as a diagram (or a data instance), a diagram object and the like, such as a button of a lock shape of an operation bar in fig. 1; the search control is used for searching the graph database, and comprises search graphs, nodes, edges and other information, such as a search box in an operation bar in the graph 1; the toggle control is used to toggle between a visualization view and a form view.
And 204, receiving an operation instruction in the visual view, and creating a graph object according to the operation instruction.
The creation control may be triggered in the visualization view, such that the creation of the graph object is triggered by the creation control, such as in fig. 1, a node may be created by triggering a first creation control, such as in fig. 3, an edge may be created by triggering a second creation control, and so on, such that based on the operation instruction received by the triggering control, a target location for creating the graph object may be determined, and then a corresponding graph object may be created at the target location, such as a creation node, or an edge connecting two nodes may be created.
In an optional embodiment of the present application, the receiving an operation instruction in the visualization view, and creating a graph object according to the operation instruction includes: displaying a first creation control on an operation bar of the visual view, and receiving a dragging indication of the first creation control; and determining a target position according to the dragging indication, and creating a node at the target position.
Taking the creation of the node as an example, a first creation control may be displayed in an operation bar of the visualization view, such as a circle button of the operation bar in fig. 1 as the first creation control for creating the node. Clicking and selecting a first creation control, keeping clicking and dragging, correspondingly receiving a dragging instruction of the first creation control, dragging a node to a target position to be placed by a user, cancelling the selection of the node, if the dragging is clicked through a left mouse button, releasing the left button at the target position, and if the dragging is clicked through a finger, a touch pen and the like on a touch screen, lifting the finger or the touch pen at the target position, determining that the position where the dragging instruction is finished is the target position, and creating the node at the target position. And dragging the first creation control as shown in fig. 1, and creating a node at the target position as indicated by the cropping head after the target position is reached.
In an e-commerce scenario, objects such as a seller (or a merchant) user, a buyer user, a warehouse side, a logistics service provider (e.g., a logistics company), etc. may be nodes, and in other examples, goods objects provided by a seller may also be nodes. In this scenario, the node may be automatically created, or may be created based on the user's requirement, for example, after a buyer user purchases a commodity object sold by a seller user, a corresponding node may be automatically created, and an edge may be created. For another example, after a seller user wants to sell a new commodity object, and lays a new warehouse or establishes a cooperative relationship with a new logistics service provider, an operation instruction may be sent by dragging or the like to create a corresponding node and edge.
Taking a service scene based on a cloud technology as an example, a graph can be created for a platform providing cloud technology services, and objects such as corresponding service providers, technical service projects, service users and the like can all serve as nodes. In other examples, the computing devices and the like can be used as nodes, so that the demands of service users on the computing devices and the like can be known through the graph. Correspondingly, the nodes and the edges can be automatically created based on data in the service platform of the cloud technology, and can also be created based on the requirements of users, for example, after one user is a service provider, the user provides some new technical service items, the nodes and the edges can be created in modes of dragging and the like.
In another optional embodiment of the present application, the receiving an operation instruction in the visual view, and creating a graph object according to the operation instruction includes: after receiving a trigger instruction, a first node in the visual view displays a second creation control, wherein the trigger instruction comprises at least one of the following: click indication and mouse suspension indication; receiving a drag indication of the second creation control; and determining a second node according to the dragging indication, and establishing an edge connecting the first node and the second node.
In order to facilitate user operation, in the embodiment of the present application, a second creation control may be set based on a node, so that the second creation control may be set in a fixed position, or may be displayed based on a trigger to the node, for example, a trigger instruction may be issued by clicking or touching the node, or a trigger instruction may be generated by suspending a mouse over the node, where the trigger instruction may be a click instruction corresponding to the click or touching the node, or a mouse over-floating instruction generated by suspending the mouse over the node. Therefore, after a certain node in the visual view receives a trigger instruction, the node can be used as a first node, a second creation control is displayed around the first node, as shown in fig. 3, the trigger instruction is sent for the node B, the second creation control formed by an icon with a plus sign in a circle can be displayed beside the node B, then a drag instruction can be sent, the drag instruction is similar to the above example, in the edge creation process, a straight line can be drawn from the first node along with the movement of the drag instruction, so that a user can conveniently view a source node (i.e., the first node), and when the drag instruction moves to the position of a second node (a destination node) to be connected, the drag can be finished, so that an edge connecting the first node and the second node is created. As shown in fig. 3, a trigger instruction is received at the node B, a second creation control is displayed, and a drag instruction for the second creation control is received, so that the node B pulls out a line to move along with the drag instruction, the drag instruction is finished after the node D is reached, and an edge can be created between the nodes B and C. Taking node B as a team and node D as a player as an example, an edge is established between node B and node C, the type of the edge is named as affiliation (weights), and the player belongs to the team and can also be called as the player to play in the team.
Taking an e-commerce scenario as an example, objects such as a seller (or a merchant) user, a buyer user, a commodity object, a warehouse side, a logistics service provider (such as a logistics company) and the like are used as nodes, and then the relationship between the objects can be used as an edge. The relationship characterized by the edge in the scene includes: transaction relationships, purchase relationships, usage relationships, collaboration relationships, shipping relationships, delivery relationships, transportation relationships, storage relationships, and the like.
Taking a service scene based on the cloud technology as an example, objects such as a service provider, a technical service project, a service user, computing equipment provided by a platform, storage resources and the like can all be used as nodes, and the relationship between the objects can be used as edges. The relationship characterized by the edge in the scene includes: development relationships, service usage relationships, computing resource usage relationships, storage resource usage relationships, and the like. In the visual view, two nodes are connected through an edge, which indicates that a relationship exists between the two nodes, and the specific relationship can be represented by the type name of the edge. In some examples. After the edge in the visual view is connected with the two nodes, the relationship of the edge can be directly displayed, for example, the two nodes are in a development relationship; in other examples, after an edge connects two nodes in a visualization view, only the display name of the edge may be displayed, and the relationship of the edge is not displayed, which may be specifically set according to requirements.
Step 206, displaying the editing panel of the graph object, so as to edit the object information of the graph object through the editing panel.
After a graph object such as a node or an edge is generated in the visual view, an editing panel of the graph object may be displayed, in some examples, the editing panel may be displayed in the visual view, for example, an editing panel is displayed in an interface of the visual view, in other examples, the editing panel may also be a separate page, and the editing panel is adjusted to the separate page to edit the node or the edge.
The editing panel comprises an information editing control, wherein the information editing control can be understood as a control for editing object information of a graph object, each type of object information can correspond to the information editing control, and the object information comprises at least one of the following information: basic information, display information, and attribute information. The basic information is used for defining basic information of the graph object, and may include a type, a type name, a remark, and the like, wherein the type includes a node and an edge, and may define a type of the created graph object, and the type may also be automatically determined based on an operation of the creation, for example, the type of the graph object may be automatically determined if the node and the edge are created; the graph objects with the type names of a certain type correspond to names, such as the names of nodes, namely game, team, player and the like, and the type names can refer to the graph objects of a certain type, for example, a plurality of nodes can be team; note other information corresponding to the node, such as information related to type, etc.
The display information is information displayed in the visual view and may include a display name, a display color, a display size, display content, and the like, where the display name is a name of the graph object displayed in the visual interface, such as a node A, B, C, edges L1, L2, L3, and the like in fig. 5; the display color is a color displayed by the graph object in the visual interface, and can be distinguished according to the type name of the graph object, for example, the node a can be displayed in yellow, the node B can be displayed in green, and the like, and can be set according to requirements, which is not limited in the embodiment of the application; the display size is a display size of the graph object in the visual interface, for example, the display size corresponding to each node is set to be M, where the length of the edge represents a distance between two nodes, and thus the display size may not be set, or in another example, the display size of the edge is the thickness of the edge, and may be specifically set according to requirements; the display content can be used for determining the content displayed corresponding to the display name, such as displaying the game name A for the game node, displaying the name of the team such as B for the team node, displaying the names of other teams, displaying the surnames of the players such as C for the player node, displaying the full names of the players, and the like, and can be set according to requirements.
The attribute information may set various attributes of the graph object, which may include attribute names, attribute types, notes, default values, operations, and the like. The attribute name can be an attribute name of various attributes, for example, attributes such as an identifier and a name corresponding to a node, which can have a specific attribute value, the attribute type can determine a data type of the attribute value corresponding to the attribute name, and the remark is information of other remarks corresponding to the attribute name and can be set according to requirements.
Therefore, the information editing control can be set according to the editable object information, and the information editing control is formed by various controls such as the input box, the selection box and the like so as to edit the information.
Therefore, in this embodiment of the present application, object information of the graph object may be received in the editing panel through an information editing control, where the object information includes at least one of: basic information, display information, and attribute information.
In the example shown in fig. 1, the editing panel includes various information editing controls, such as a type selection control, which may provide selectable object types including nodes and edges, and information editing controls provided with other object information, such as a type name editing control, a display name editing control, a remark editing control, a display color editing control, a display size editing control, a display content editing control, and the like, and a property editing control for editing a property, which includes property information for editing a property name, a property type, a remark, a default value, an operation, and the like. In this case, if the user wants to cancel the creation of the node, the user may click an undo control of the editing panel, such as an "X" button or a "cancel" button, and after the undo control is triggered, the editing panel may be closed and the node may be deleted in the visual view.
In the example of editing the edge as shown in fig. 4, the editing panel includes various information editing controls for editing the edge, such as a type selection control, which may provide selectable object types including a node and an edge, information editing controls for providing other object information, such as a type name editing control, a display name editing control, a remark editing control, a display color editing control, a display content editing control, and the like, and a property editing control for editing a property, which includes property information for editing a property name, a property type, a remark, a default value, an operation, and the like. And a relationship configuration control for editing the relationship between two nodes connected by an edge, wherein the source point is a first node, the target point is a second node, and the type names of the nodes can be displayed, so that the relationship between the two nodes is determined based on the type, for example, the relationship between a team (team) and a player (player) is a dependent relationship, the player belongs to the team (belongs), and the operation information of the corresponding relationship of the edge can be configured, and the relationship can be deleted in the example. In this case, if the user wants to cancel the creation of the edge, the user may click an undo control of the editing panel, such as an "X" button or a "cancel" button, and after triggering the undo control, the editing panel may be closed and the edge may be deleted in the visual view.
By editing the graph objects such as nodes and edges, object information of the graph objects can be determined, wherein the object information comprises various information such as basic information, display information and attribute information. The attribute information of the edge may include weight information, which is used to indicate how close the relationship between the two nodes is, and in some examples, the weight information may also be displayed in the visualization node as a display information. For the weight information between two nodes, the weight information may be determined based on the basic information, attribute information, and the like of the two nodes, such as similarity, association degree, and the like of the two nodes, or may be interaction data between the two nodes, such as interaction times, and the like, and may be specifically determined according to a scene, a requirement, and the like.
In some examples, the weight information of the edge may be represented by some numerical values. For example, in an e-commerce scenario, the weight of the transaction relationship between the seller user and the buyer user may be represented by the number of purchased goods, the number of times, the amount of money, and the like; the weight information of the competitive relationship between different sellers can calculate the similarity of the two sold commodity objects, such as the similarity of the commodity object types, the similarity of the commodity objects, and the like, or weight the similarity to be used as the weight information of the edge. The information such as the numerical value of the edge weight can be directly displayed in the visual view, for example, the numerical value is displayed on the edge connecting two nodes.
In other examples, the weight information of the edge may also be displayed in the visualization view by the length, color, thickness, and the like of the edge, for example, different values correspond to different lengths, and for example, different value ranges correspond to different colors, thicknesses, and the like, so that the closeness of the relationship between two nodes can be displayed by the style of the edge.
Taking an e-commerce scenario as an example, objects such as a seller (or a merchant) user, a buyer user, a warehouse side, a logistics service provider (e.g., a logistics company) and the like may be used as nodes, in other examples, a commodity object provided by a seller may also be used as a node, and a relationship between each object may be used as an edge. In the scenario, the seller (or merchant) user, the buyer user, the warehouse side, and the logistics service provider are type names of nodes, and the display name may be an actual name (or short name) of the object, such as XX logistics company (or XX). The edges between different types of nodes may be determined based on actual relationships, such as the relationship between the seller (or merchant) node and the buyer node being a transaction relationship, the purchasing relationship between the buyer node and the goods object node, the relationship between the seller (or merchant) node and the warehouse node being a usage relationship, the relationship between the seller (or merchant) node and the logistics node being a collaboration relationship, the relationship between the buyer node and the warehouse node being a shipping relationship, the relationship between the buyer node and the logistics node being a distribution relationship, the relationship between the logistics node and the goods object node being a transportation relationship, the relationship between the warehouse side node and the goods object node being a storage relationship, and so on. The weight information of the corresponding relationship can be determined based on the interaction between the nodes, for example, the number of times of cooperation between the seller and the logistics service provider, the time, and the like, and the number of shop goods between the seller and the warehouse, and the like, can be used for determining the weight information of the corresponding relationship.
Therefore, in a scenario of an e-commerce website, a graph can be created for a seller (or a merchant) user, the seller user is a node, and a commodity object, a warehouse for placing goods, a cooperative logistics service provider, and the like provided by the seller can all set corresponding nodes and establish edges, and each buyer user who purchases the commodity object at the shop of the seller user can also create a node, establish an edge with the seller user based on a purchase relationship, and set object information for a corresponding order, thereby completing the implementation of the graph and the graph information, and thus, the sale situation of the commodity object of the seller user can be quickly known based on the graph of the seller. For example, information of the commodity object purchased by the buyer user is configured in the attribute, and accordingly, a commodity name, a purchase time, and the like can be recorded for each commodity object, so that the interest level of the seller in the commodity of the seller, the stickiness of the seller user, and the like can be known. Based on the logistics service providers cooperated by the sellers, the logistics efficiency, the user satisfaction degree and the like corresponding to the logistics service providers can be known. The above is an example of a diagram corresponding to a seller user, and actually, a diagram may be created for a buyer user, a warehouse side, a logistics service provider, and the like, so as to determine and analyze required information.
Taking a service scene based on a cloud technology as an example, a graph can be created for a platform providing cloud technology services, and then objects such as corresponding service providers, technical service projects, service users and the like can all be used as nodes, and the relationship among the nodes can determine edges. The service provider, the technical service project and the service user are type names of the nodes, corresponding display names can use names (or short names) of corresponding objects, and other object information can be set based on actual content, requirements and the like. After the nodes are created, edges can be created, so that the relationship between the two nodes can be established, for example, the relationship between the edges between the service provider node and the provided technical service project node is a development relationship; the relationship between the edges of the service provider node and the service user node is a service relationship; the provided relation between the technical service item node and the service user node is a service using relation and the like. In other examples, the computing device, the storage resource, and the like may also be used as nodes, and then the relationship between the computing device node and the service consumer node is a computing resource usage relationship, and the relationship between the storage resource node and the service consumer node is a storage resource usage relationship, so that the demand and the like of the service consumer on the computing device can be known through a graph. The weight information of the corresponding relationship can be determined based on the interaction between the nodes, for example, the demand of the service provider for the computing device, the storage resource amount used by the service provider, the number of services used by the service user, and the like can all be used for determining the weight information of the corresponding relationship.
In some further embodiments of the present application, a toggle indication to toggle a control is received to toggle between the visualization view and the form view. And an operation bar is provided in the view, and a switching control provided by the operation bar can trigger a switching indication through the switching control, so that the visual view and the table view are switched. Wherein, switching between the visual view and the table view comprises the following steps: the visualization view switches to the tabular view and/or the tabular view switches to the visualization view.
Switching the visualization view to the tabular view includes: determining a graph object displayed in the visualization view; determining a graph to which a graph object belongs, and determining graph information corresponding to the graph, wherein the graph information comprises object information of a plurality of graph objects; and switching to a table view, and displaying the graph information corresponding to the graph in the table view. One or more graph objects displayed in the visualization view can be determined, the graph objects can belong to one graph and can belong to different graphs, the graph to which the graph objects belong can be determined, graph information is determined for each graph, the graph information comprises object information of a plurality of graph objects, switching is performed to a table view, the graph information of the graph is displayed in the table view, when the graph information comprises a plurality of graphs, the plurality of graphs can be displayed simultaneously, the graph information of a selected graph is displayed according to selection, or the graph information of a certain graph is displayed by default, and the graph information of other graphs is displayed in other pages and can be displayed in a switching manner.
Switching the tabular view to the visualization view includes: determining graph information corresponding to graphs in a table view, wherein the graph information comprises object information of a plurality of graph objects; and switching to a visual view, and displaying each graph object in the graph in the visual view according to the graph information. When the table view is displayed, the graph information corresponding to the graph in the table view can be determined, a plurality of graph objects included in the graph information and the object information of each graph object are determined, and when the table view is switched to the visual view, the corresponding graph object is displayed in the visual view according to each object information in the graph information, so that the graph is displayed.
In the example of the visualization view shown in fig. 5, the operation bar includes a toggle control, and at this time, the visualization view is selected, so as to display the visualization view, in which one graph (data instance) composed of the node A, B, C and the edges L1, L2, and L3 may be displayed, in actual processing, the graph composed of more nodes and edges may be displayed in the visualization view, and in some cases, the graph may not be displayed uniformly, and may be adjusted by adjusting a display angle or a display range of a page, and the like, which is not limited by the embodiment of the present application. Display adjustment controls are also included in the visualization view, based on which the graphs, nodes, edges, etc. in the visualization view can be adjusted. As shown in fig. 5, the display adjustment control includes a scale adjustment control, an enlargement and reduction control, and the like, for example, a control having two inward arrows in a circle may be referred to as a diagram enlargement control, a control having two outward arrows in a square may be referred to as a diagram reduction control, the view or the diagram displayed in the view is entirely enlarged or reduced, a control having a plus sign in the magnifier is a local enlargement control, a control having a minus sign in the magnifier is referred to as a local reduction control, and through the local enlargement and reduction controls, a user may locally enlarge or reduce the diagram displayed in the view, and the diagram is enlarged to a certain node or a certain edge and the like.
And triggering a switching control of the operation bar in the visual view, and switching to display a table view.
Fig. 6 shows a table view in which graph information corresponding to the graph displayed in the visualization view can be displayed. The table view may display graph information corresponding to each graph (data instance). As shown in fig. 6, the basic information of a graph includes an instance name (also referred to as a graph name), a class of a node and an edge, and a belonging partition, and the like, such as an instance name analysis (analysis), a class of a node is 3, a class of an edge is 3, and a belonging partition is 8, wherein a plurality of graphs can be stored in one graph database, and for convenience of managing the graph, different partitions can be managed, so the information of the graph can also include the belonging partition.
For the object information of the graph object in the graph, the object information of the graph object may be selectively displayed, such as being displayed in its entirety, or node information of a node, side information of a side, and the like. Fig. 6 illustrates an example of displaying all information, which shows information of each node and edge included in the graph, such as type, type name, display color, display size, display content, remark, operation, and the like.
Corresponding to fig. 5, a node named a is shown, the type name of which is game, the size of which is M (medium), and the like, and specifically refer to fig. 6, and for example, an edge LI between the node a and the node B is play (play), a ball is in a game, and for example, an edge L2 between the node B and the node C is belonged (belongs), a player belongs to a team, an edge L3 of the node C is know (knows), and players know each other. The operations that can be executed for each node and edge include preview, data import, deletion and the like, and can be specifically set according to requirements.
Therefore, in some optional embodiments of the present application, a user may preview object information of each node, edge, and the like in the visualization view, and accordingly, a preview panel may be provided. Receiving a trigger indication for a graph object; and displaying a preview panel of the graph object, and displaying object information of the graph object in the preview panel. The user can click, touch or touch a graph object such as a node or an edge to send a trigger instruction, after receiving the trigger instruction, a preview panel of the triggered graph object can be displayed, and the object information of the graph object is displayed in the preview panel, so that the user can view the details of the graph object.
In an example shown in fig. 7, the overview page is a preview panel, and taking triggering node B as an example, node information of node B may be displayed, including types: a node; type name: team; displaying the content: the name of the team; display color: green; display size: m; remarking: team; and the attribute configuration includes: attribute name: team _ id, attribute type: string; attribute name: franchiseid, attribute type: string, etc. The object information of the drawing object displayed in the preview panel is matched with the object information of the corresponding drawing object in the form view.
Editing of the corresponding diagram object may also be triggered through the preview panel, where an editing control, such as the "edit" button in fig. 7, is provided. Therefore, the trigger of the editing control can be received, and the editing panel which displays the graph object is switched to update the object information of the graph object. After the object information of the graph object is viewed in the preview panel, if it is determined that some object information needs to be edited, such as modification, addition and the like, the editing control can be triggered, and then the graph object can be edited by switching to the editing panel displaying the graph object.
After the object information of the graph object is edited again in the visual view, the data corresponding to the corresponding table view is also adjusted, so that the graph to which the edited graph object belongs can be determined; and updating object information corresponding to the edited graph object in the graph information of the table view corresponding graph. After the graph object is edited, the graph to which the edited graph object belongs may be determined, the graph information of the graph may be queried for the table view, and then the object information corresponding to the edited graph object may be updated in the graph information. In other embodiments of the present application, the graph information may be stored in a graph database, so that the visual view and the table view may also obtain the graph information from the graph database for displaying.
In the embodiment of the application, when the graph information of the graph is displayed in the table view, the graph information can be edited. The editing of the graph information can be triggered in a form view in various ways, for example, an editing control is arranged in the form, and the displayed graph information is changed into an editable state through the editing control, so that each graph object and the object information thereof in the graph information can be edited based on requirements; for another example, the start of the editing state is triggered by a right mouse button, a double click, specific gesture information, and the like, and information is edited.
In some optional embodiments of the present application, a user may further perform an operation on a graph object through a menu bar of the graph object, for example, by clicking a right mouse button, double-clicking or other start instructions, to trigger and display the menu bar, where the menu bar may display an operation that can be performed on the graph object, such as deleting, importing data, and the like, and may further include an option of an operation such as previewing, editing, and the like, which may be specifically set according to a requirement, and this is not limited by the embodiments of the present application.
During the operation of the visualization view, the table view and the like, misoperation may occur sometimes, for example, some graph objects are deleted by mistake, or some information of the graph objects is deleted by mistake. In order to facilitate quick resolution of such situations, a withdrawal control may be further provided, and the withdrawal control may be provided in an operation bar, an editing panel, or the like, so that a previous operation may be withdrawn by the withdrawal control. And after the graph object is deleted in the visual view, canceling the deletion operation of the graph object through a revocation control. For another example, after the object information of the graph object is deleted, the deleted object information can be revoked through the revocation control, so that the misoperation is cancelled. In other examples, the withdrawal of the misoperation can be triggered by a right key, a double click, a gesture operation and other manners, and the withdrawal can be specifically set according to requirements.
The positions of the graph objects can be adjusted conveniently, so that the positions of the graph objects can be adjusted correspondingly in the adjusting processes of adding, deleting, changing and the like of the graph objects, the graph is displayed more clearly and the layout is reasonable, and therefore in some optional embodiments of the application, the method further comprises at least one of the following steps of adjusting the positions of the graph objects: determining acting force between different graph objects based on the object information, and adjusting the positions of the graph objects according to the acting force; and adjusting the position of the selected graph object according to the dragging indication.
In a visualization view, to facilitate viewing of the graph objects in the graph, the graph objects are typically non-overlapping. After adding or deleting graph objects such as nodes and edges in the graph, the positions of the corresponding other graph objects may need to be adjusted correspondingly. In one example, the graph object may have forces between nodes, and the forces may include attraction and repulsion, and the forces between the nodes may be determined based on object information such as type names and display contents of the nodes. In other examples, the acting force such as the attractive force, the repulsive force, and the like may also be determined based on the weight information of the edge, and the relationship between the two nodes may be determined to be positive or negative based on the weight information, for example, in an e-commerce scenario, a positive relationship may include a purchase, a transaction, a cooperation, and the like, a negative relationship may include a competition relationship, and the like, a positive relationship is determined to be the attractive force, a negative relationship is determined to be the repulsive force, and then the magnitude of the acting force is determined based on the magnitude of a weight value, such as a numerical value, and the like, in the weight information. The determination of the acting force such as the attractive force, the repulsive force and the like can be determined based on actual scenes, for example, the repulsive force between nodes with the same type of name in some scenes, the attractive force or the repulsive force between nodes with different types of names based on the display content and the like. For example, in the above examples of teams, games, and players, there are attraction forces between player nodes of the same team, and repulsion forces between player nodes of different teams and different teams. For another example, for an e-commerce scenario, repulsion exists between different warehouse nodes, attraction exists between a seller node and each commodity node sold by the seller node, and the like, and the determination can be based on an actual application scenario. Therefore, the positions of all nodes in the graph object can be automatically adjusted according to the acting force, edges between corresponding nodes are correspondingly adjusted along with the movement of the nodes, and the adjustment can be completed after the edges are automatically adjusted to a state of keeping balance among all the nodes.
In one example, the force between different graph objects can be determined and adjusted based on a force-guided layout algorithm, wherein the force-guided layout algorithm is a layout algorithm of a graph, such as a layout algorithm that can reduce node overlapping and the like by modeling the graph into a physical system with rings and springs by using a spring principle, and such as an attractive force, a repulsive force and the like can be determined between graph objects such as nodes, edges and the like, so as to adjust the position between graph objects. In the visualization view, the node may calculate its position by default using a force-guided layout algorithm. For example, when a node is newly created, other nodes may adjust the location based on the newly created node.
In other examples, the user may also change the position of the node in the diagram by dragging, and the position of the diagram object may be adjusted according to the dragging indication, so as to meet the requirement of the user-defined layout style.
The method can provide a visual view and a table view, so that various operation requirements of a user for a graph database are met, after an operation instruction is received in the visual view, a graph object can be created according to the operation instruction, then an editing panel of the graph object is displayed, and the object information of the graph object can be edited through the editing panel, so that the graph object can be conveniently created in the visual view, the object information of the graph object can be conveniently edited, and the processing efficiency is improved.
On the basis of the embodiment, the embodiment of the application also provides a method for creating the nodes in the graph database, various operations required by user graph modeling can be met in a dragging and popup mode, the nodes are created in a dragging mode, a user can quickly and autonomously select the creating positions of the nodes, and the editing panels corresponding to the nodes are popped up through popup windows, so that node information can be quickly edited, the creating process of the nodes conforms to the operation habits of the user, and the modeling efficiency of graph modeling can be improved.
Referring to fig. 8, a data processing method of the present application is shown as a flowchart of steps of creating an instance of a node in an embodiment.
Step 802, displaying a visual view, wherein an operation bar of the visual view is displayed with a first creation control.
Step 804, receiving a drag indication of the first creation control.
Step 806, displaying a node according to the drag indication, wherein the node moves along with the drag indication.
Step 808, determining a target position according to the dragging indication, and creating a node at the target position.
Step 810, displaying the editing panel of the node.
Step 812, receiving node information of the node in the editing panel through an information editing control, wherein the node information includes at least one of the following: basic information, display information, and attribute information.
Step 814, receiving a save instruction, and storing the node and the node information.
Each step in this embodiment is similar to the corresponding step in the above embodiment, and specific reference may be made to the description of the above embodiment.
On the basis of the above embodiment, the embodiment of the application further provides a method for creating an edge in a graph database, various operations required by user graph modeling can be met in a dragging and popup mode, the edge between nodes is created in the dragging mode, a user can quickly and autonomously connect the nodes and establish a relationship between the nodes, an editing panel corresponding to the edge is popped up through the popup window, the edge information can be quickly edited, the creation process of the edge conforms to the operation habits of the user, and the graph modeling efficiency can be improved.
Referring to fig. 9, a data processing method of the present application is shown as a flowchart of steps of creating an instance of a node in an embodiment.
Step 902, displaying a visualization view, wherein at least two nodes are displayed in the visualization view.
Step 904, determining that the node receiving the trigger indication is a first node, and displaying a second creation control around the first node.
Step 906, receiving a drag indication of the second creation control.
And 908, drawing a connecting line by taking the first node as a starting point, wherein the connecting line moves along with the dragging indication.
Step 910, determining a second node according to the dragging indication, and establishing an edge connecting the first node and the second node. Such as determining a connecting line as establishing an edge of the first node and the second node.
Step 912, displaying the editing panel of the edge.
Step 914, receiving side information of the side in the editing panel through an information editing control, wherein the side information includes at least one of the following: basic information, display information, and attribute information.
Step 916, receiving the saving instruction, and storing the side and the side information.
Each step in this embodiment is similar to the corresponding step in the above embodiment, and specific reference may be made to the description of the above embodiment.
The embodiment of the application draws the graph model in a visual mode; and the node/edge dragging capability is introduced to complete the rapid creation of the node and the edge. And the interactive capacity of the visual view and the table view is provided so as to meet different operation requirements of users.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
On the basis of the above embodiments, the present embodiment further provides a data processing apparatus, which is applied to electronic devices such as a terminal device and a server.
Referring to fig. 10, a block diagram of a data processing apparatus according to an embodiment of the present application is shown, which may specifically include the following modules:
a providing module 1002 is configured to provide a visualization view for describing data by a graph object and a table view for recording object information of the graph object, where the graph object includes nodes and/or edges.
A creating module 1004, configured to receive an operation instruction in the visualization view, and create a graph object according to the operation instruction.
An editing module 1006, configured to display an editing panel of the graph object, so as to edit the object information of the graph object through the editing panel.
In summary, a visual view and a table view can be provided, so as to meet various operation requirements of a user for a graph database, after receiving an operation instruction in the visual view, a graph object can be created according to the operation instruction, and then an editing panel of the graph object is displayed, so that object information of the graph object can be edited through the editing panel, and thus the graph object can be conveniently created in the visual view, and the object information of the graph object can be conveniently edited, thereby improving the processing efficiency.
On the basis of the above embodiment, the creating module includes: a node creating submodule and an edge creating submodule, wherein:
the node creating submodule is used for displaying a first creating control on an operation bar of the visual view and receiving a dragging instruction of the first creating control; and determining a target position according to the dragging indication, and creating a node at the target position.
The nodes of the graph object comprise a first node and a second node; the edge creation sub-module is configured to display a second creation control after the first node in the visualization view receives a trigger instruction, where the trigger instruction includes at least one of: click indication and mouse suspension indication; receiving a drag indication of the second creation control; and determining a second node according to the dragging indication, and establishing an edge connecting the first node and the second node.
The editing module is further configured to receive object information of the graph object through an information editing control in the editing panel, where the object information includes at least one of: basic information, display information, and attribute information.
The device further comprises: and the switching module is used for receiving a switching instruction of the switching control and switching between the visual view and the table view.
In one example, the switching module is configured to determine a graph object displayed in the visualization view; determining a graph to which a graph object belongs, and determining graph information corresponding to the graph, wherein the graph information comprises object information of a plurality of graph objects; and switching to a table view, and displaying the graph information corresponding to the graph in the table view.
In another example, the switching module is configured to determine graph information corresponding to a graph in a table view, where the graph information includes object information of a plurality of graph objects; and switching to a visual view, and displaying each graph object in the graph in the visual view according to the graph information.
The preview module is used for receiving a trigger instruction of the graph object; and displaying a preview panel of the graph object, and displaying object information of the graph object in the preview panel.
The preview panel includes an object editing control; and the preview module is also used for receiving the trigger of the editing control, triggering the editing module, and switching to an editing panel for displaying the graph object so as to update the object information of the graph object.
The editing module is further used for determining a graph to which the edited graph object belongs; and updating object information corresponding to the edited graph object in the graph information of the table view corresponding graph.
The editing module is further used for editing the graph information of the graph in the table view.
And the withdrawing module is used for withdrawing the deleting operation of the graph object through a withdrawing control after the graph object is deleted in the visual view.
And the table display module is used for displaying a table view, and displaying the graph information of the graph object corresponding to the graph through the table view.
The position adjusting module is used for adjusting the positions of the graph objects, wherein acting force between different graph objects is determined based on the object information, and the positions of the graph objects are adjusted according to the acting force; and/or adjusting the position of the selected graph object according to the dragging indication.
The embodiment of the application draws the graph model in a visual mode; and the node/edge dragging capability is introduced to complete the rapid creation of the node and the edge. And the interactive capacity of the visual view and the table view is provided so as to meet different operation requirements of users.
The present application further provides a non-transitory, readable storage medium, where one or more modules (programs) are stored, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of method steps in this application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an electronic device to perform the methods as described in one or more of the above embodiments. In the embodiment of the present application, the electronic device includes various types of devices such as a terminal device and a server (cluster).
Embodiments of the present disclosure may be implemented as an apparatus, which may include electronic devices such as a terminal device, a server (cluster), etc., using any suitable hardware, firmware, software, or any combination thereof, to perform a desired configuration. Fig. 11 schematically illustrates an example apparatus 1100 that may be used to implement various embodiments described herein.
For one embodiment, fig. 11 illustrates an example apparatus 1100 having one or more processors 1102, a control module (chipset) 1104 coupled to at least one of the processor(s) 1102, a memory 1106 coupled to the control module 1104, a non-volatile memory (NVM)/storage 1108 coupled to the control module 1104, one or more input/output devices 1110 coupled to the control module 1104, and a network interface 1112 coupled to the control module 1104.
The processor 1102 may include one or more single-core or multi-core processors, and the processor 1102 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 1100 can be implemented as a terminal device, a server (cluster), or the like in the embodiments of the present application.
In some embodiments, the apparatus 1100 may include one or more computer-readable media (e.g., the memory 1106 or the NVM/storage 1108) having instructions 1114 and one or more processors 1102 in combination with the one or more computer-readable media configured to execute the instructions 1114 to implement modules to perform the actions described in this disclosure.
For one embodiment, control module 1104 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 1102 and/or to any suitable device or component in communication with control module 1104.
The control module 1104 may include a memory controller module to provide an interface to the memory 1106. The memory controller module may be a hardware module, a software module, and/or a firmware module.
The memory 1106 may be used, for example, to load and store data and/or instructions 1114 for the device 1100. For one embodiment, memory 1106 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the memory 1106 may comprise a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, control module 1104 may include one or more input/output controllers to provide an interface to NVM/storage 1108 and input/output device(s) 1110.
For example, NVM/storage 1108 may be used to store data and/or instructions 1114. NVM/storage 1108 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 1108 may include storage resources that are physically part of the device on which apparatus 1100 is installed, or it may be accessible by the device and need not be part of the device. For example, NVM/storage 1108 may be accessed over a network via input/output device(s) 1110.
Input/output device(s) 1110 may provide an interface for apparatus 1100 to communicate with any other suitable device, input/output devices 1110 may include communication components, audio components, sensor components, and so forth. Network interface 1112 may provide an interface for device 1100 to communicate over one or more networks, and device 1100 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as access to a communication standard-based wireless network, e.g., WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 1102 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the control module 1104. For one embodiment, at least one of the processor(s) 1102 may be packaged together with logic for one or more controller(s) of control module 1104 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 1102 may be integrated on the same die with logic for one or more controller(s) of the control module 1104. For one embodiment, at least one of the processor(s) 1102 may be integrated on the same die with logic for one or more controller(s) of control module 1104 to form a system on chip (SoC).
In various embodiments, the apparatus 1100 may be, but is not limited to: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, the apparatus 1100 may have more or fewer components and/or different architectures. For example, in some embodiments, device 1100 includes one or more cameras, keyboards, Liquid Crystal Display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, Application Specific Integrated Circuits (ASICs), and speakers.
The detection device can adopt a main control chip as a processor or a control module, sensor data, position information and the like are stored in a memory or an NVM/storage device, a sensor group can be used as an input/output device, and a communication interface can comprise a network interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.
The foregoing detailed description has provided a data processing method and apparatus, an electronic device and a storage medium, and the principles and embodiments of the present application are described herein using specific examples, which are merely used to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (18)

1. A method of data processing, the method comprising:
providing a visualization view and a table view;
receiving operation instructions in the visual view, and creating a graph object according to the operation instructions, wherein the graph object comprises nodes and/or edges;
and displaying an editing panel of the graph object so as to edit the object information of the graph object through the editing panel.
2. The method according to claim 1, wherein the receiving an operation instruction in the visual view, and creating a graph object according to the operation instruction comprises:
displaying a first creation control on an operation bar of the visual view, and receiving a dragging indication of the first creation control;
and determining a target position according to the dragging indication, and creating a node at the target position.
3. The method of claim 1, wherein the nodes of the graph object comprise a first node and a second node; the receiving of the operation instruction in the visual view, and the creating of the graph object according to the operation instruction comprise:
after receiving a trigger instruction, a first node in the visual view displays a second creation control, wherein the trigger instruction comprises at least one of the following: click indication and mouse suspension indication;
receiving a drag indication of the second creation control;
and determining a second node according to the dragging indication, and establishing an edge connecting the first node and the second node.
4. The method of claim 1, further comprising:
receiving object information of the graph object in the editing panel through an information editing control, wherein the object information comprises at least one of the following: basic information, display information, and attribute information.
5. The method of claim 1, further comprising:
and receiving a switching indication of a switching control, and switching between the visual view and the table view.
6. The method of claim 5, wherein switching between the visualization view and the table view comprises:
determining a graph object displayed in the visualization view;
determining a graph to which a graph object belongs, and determining graph information corresponding to the graph, wherein the graph information comprises object information of a plurality of graph objects;
and switching to a table view, and displaying the graph information corresponding to the graph in the table view.
7. The method of claim 5, wherein switching between the visualization view and the table view comprises:
determining graph information corresponding to graphs in a table view, wherein the graph information comprises object information of a plurality of graph objects;
and switching to a visual view, and displaying each graph object in the graph in the visual view according to the graph information.
8. The method of claim 1, further comprising:
receiving a trigger indication for a graph object;
and displaying a preview panel of the graph object, and displaying object information of the graph object in the preview panel.
9. The method of claim 8, wherein the preview panel includes an object editing control;
and receiving the trigger of the editing control, and switching to an editing panel for displaying the graph object so as to update the object information of the graph object.
10. The method of claim 9, further comprising:
determining a graph to which the edited graph object belongs;
and updating object information corresponding to the edited graph object in the graph information of the table view corresponding graph.
11. The method of claim 6, further comprising:
and editing the graph information of the graph in the table view.
12. The method of claim 1, further comprising:
and after the graph object is deleted in the visual view, canceling the deletion operation of the graph object through a revocation control.
13. The method of claim 8, further comprising:
and displaying a table view, and displaying the graph information of the graph object corresponding to the graph through the table view.
14. The method according to claim 8, further comprising a step of adjusting the position of at least one of the following map objects:
determining acting force between different graph objects based on the object information, and adjusting the positions of the graph objects according to the acting force;
and adjusting the position of the selected graph object according to the dragging indication.
15. The method according to any of claims 1-14, wherein the node information of the node comprises a type name, wherein the type name comprises at least one of: buyer users, seller users, merchandise objects, warehouse parties, and logistics service providers.
16. A data processing apparatus, comprising:
a providing module for providing a visualization view and a table view;
the creation module is used for receiving operation instructions in the visual view and creating graph objects according to the operation instructions, wherein the graph objects comprise nodes and/or edges;
and the editing module is used for displaying an editing panel of the graph object so as to edit the object information of the graph object through the editing panel.
17. An electronic device, comprising: a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform the method of one or more of claims 1-15.
18. One or more machine-readable media having executable code stored thereon that, when executed, causes a processor to perform the method of one or more of claims 1-15.
CN202010698198.0A 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium Pending CN113946714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010698198.0A CN113946714A (en) 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010698198.0A CN113946714A (en) 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113946714A true CN113946714A (en) 2022-01-18

Family

ID=79327199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010698198.0A Pending CN113946714A (en) 2020-07-17 2020-07-17 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113946714A (en)

Similar Documents

Publication Publication Date Title
US10261660B2 (en) Orbit visualization animation
US10955992B2 (en) System and methods for implementing visual interface for use in sorting and organizing records
US11740913B2 (en) Method and user interface for data mapping
JP2019512816A (en) Method and apparatus for arranging page resources
US7962862B2 (en) Method and data processing system for providing an improved graphics design tool
CN109522357A (en) A kind of data processing method, device, server and storage medium
CN106844514B (en) Page construction method and terminal
US20140317563A1 (en) Generate field mapping
CN104166662B (en) Method and system for browsing book information on terminal computer
US20080288462A1 (en) Database system and display method on information terminal
US11693873B2 (en) Systems and methods for using entity/relationship model data to enhance user interface engine
CA2955672A1 (en) Database grid search methods and systems
CN112783488A (en) Business mode canvas drawing method and device
CN106779791B (en) Generation method and device for collocation object picture combination
US20220269380A1 (en) Method and system for structuring, displaying, and navigating information
CN110716681A (en) Method and device for comparing display objects of display interface
CN113946714A (en) Data processing method, device, equipment and storage medium
US9355376B2 (en) Rules library for sales playbooks
CN109814857B (en) Method and device for customizing primitive linkage
JP6419308B2 (en) Business model development support apparatus and business model development support method
CN111782309A (en) Method and device for displaying information and computer readable storage medium
CN116700701B (en) Code-free software development method and device and electronic equipment
US20160239164A1 (en) Context-based control of property surfacing
US20230315711A1 (en) Systems and methods for forecasting warm start items
JP2002183163A (en) Method for retrieving sales item at shopping mall, shopping mall system, and computer-readable recording medium having shopping-mall sales item retrieving program recorded thereon

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