CN115203162A - WYSIWYG graph data construction method - Google Patents
WYSIWYG graph data construction method Download PDFInfo
- Publication number
- CN115203162A CN115203162A CN202210597099.2A CN202210597099A CN115203162A CN 115203162 A CN115203162 A CN 115203162A CN 202210597099 A CN202210597099 A CN 202210597099A CN 115203162 A CN115203162 A CN 115203162A
- Authority
- CN
- China
- Prior art keywords
- data
- wysiwyg
- graph data
- graph
- task
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2428—Query predicate definition using graphical user interfaces, including menus and forms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a WYSIWYG graph data construction method, which comprises the steps of abstracting a composition logic into a plurality of independent components, abstracting each component into a single node task in a task flow canvas, and setting the same input and output data structure for each node task; and each node task in the task flow is sequentially executed, and when the task flow has branches, the tasks are executed in parallel. The method and the device support the construction of the graph schema in a visual and interactive mode. The visualization composition function provides a data set access and editing panel, and nodes and edge structures are quickly selected and configured from data set service data through a canvas tool and a configuration panel, so that an association diagram required by the service is constructed. After the graph Schema is constructed visually, graph data can be generated based on business data corresponding to the data set and can be directly used by a graph model. The visual composition function simultaneously supports the construction of homogeneous compositions and heterogeneous graphs.
Description
Technical Field
The invention relates to the technical field of graphic data processing, in particular to a WYSIWYG graph data construction method.
Background
In recent years, the AI technology is rapidly developed, the great capacity of the traditional AI technology is lost in that only individual attribute information is used, but the associated information between individuals is difficult to learn, the Graph AI technology realizes the effective utilization of the associated information by introducing the capacity of a Graph, and meanwhile, the Graph AI technology has more accurate, more visual, more comprehensive and more logical effects by combining the expression capacity of the Graph compared with the traditional AI technology. To use the capabilities of Graph AI, it is first necessary to construct a Graph data set from traditional data sets that are related to each other.
Most of the existing graph database software can only manage ready-made and constructed graph data. Nodes and edges are also typically created directly using some script or graph database query statement. However, this mode of operation has a relatively high threshold for the user. Some basic programming knowledge or certain knowledge of graph query syntax needs to be mastered.
Disclosure of Invention
Aiming at the problem of higher operation threshold in the prior art, the invention provides a WYSIWYG graph data construction method, which enables a user to quickly construct a required graph data set by using the data set through some simple configurations in a visual interaction mode with simple operation.
The technical scheme adopted by the invention is as follows:
a what you see is what you get is a data construction method of the picture, abstract the composition logic into several independent assemblies, each assembly is abstracted as the single node task in a task flow canvas, each node task has the same data structure of input/output; and each node task in the task flow is sequentially executed, and when the task flow has branches, the tasks are executed in parallel.
Further, the composition logic is packaged into an independent component, and data flow in the composition process is achieved through related operations, wherein the related operations comprise dragging and connecting.
Further, in the composition process, the composition task state is updated in real time to show the current task progress.
Further, the assembly is provided with a plurality of data input interfaces and a data output interface, wherein the data input interfaces are used for inputting data sets, and the data output interfaces are used for outputting the image data sets after the composition is successful.
Further, the number of data input interfaces can be increased or decreased to achieve a dynamic increase or decrease of input data.
Further, the editing of the diagram schema information is configured through the structure of the dynamic canvas, and the diagram schema information of the diagram data is represented intuitively through diagram structure information displayed by the UI.
Further, editing nodes and edges automatically associates schema information of the input data set.
Further, after the graph data is successfully constructed, the currently successfully constructed graph data set can be queried on the current graph data through a form mode or a Cypher statement query.
Further, the method for querying in a form mode comprises the following steps: the query conditions are selected and set to construct a query request logically corresponding to the Cypher statement to query.
Further, the query result can configure the title field and the color according to the node type and the edge type, and configure different colors according to the condition of a single attribute.
The invention has the beneficial effects that:
(1) The composition logic is abstracted into a plurality of independent components, each component is abstracted into a single node task in a task flow canvas, and each node task is provided with the same input and output data structure; each node task in the task flow is sequentially executed, and when the task flow has branches, the tasks are executed in parallel, so that the execution speed of the whole task flow can be increased.
(2) The method and the device support the construction of the graph schema in a visual and interactive mode. The visual composition function provides a data set access and editing panel, and nodes and edge structures are quickly selected and configured from data set service data through a canvas tool and a configuration panel, so that an association diagram required by the service is constructed. After the graph Schema is constructed visually, graph data can be generated based on the service data corresponding to the data set and can be directly used by a graph model. The visual composition function simultaneously supports the construction of homogeneous compositions and heterogeneous graphs.
Drawings
FIG. 1 is a diagram of components and their corresponding menu lists according to an embodiment of the present invention.
FIG. 2 is a diagram of a form query according to an embodiment of the present invention.
FIG. 3 is a schematic diagram of a patterning device and its input data set according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of node information configuration according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a side information configuration according to an embodiment of the present invention.
FIG. 6 is a diagram of a conditional query, in accordance with an embodiment of the present invention.
FIG. 7 is a diagram of a statement query in accordance with an embodiment of the invention.
Detailed Description
In order to more clearly understand the technical features, objects, and effects of the present invention, specific embodiments of the present invention will now be described. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment provides a WYSIWYG graph data construction method, which comprises the steps of abstracting composition logic into a plurality of independent components, abstracting each component into a single node task in a task flow canvas, and setting the same input and output data structure for each node task; and each node task in the task flow is sequentially executed, and when the task flow has branches, the tasks are executed in parallel.
In the embodiment, the composition logic is packaged into an independent component, and data circulation in the composition process is realized through operations such as simple dragging, connection and the like. And in the composition process, the composition task state is updated in real time to show the current task progress. As shown in FIG. 1, the assembly is provided with a data input interface and a data output interface, wherein the data input interface is used for inputting a data set, and the data output interface is used for outputting a graph data set after the composition is successful. Preferably, the number of data input interfaces can be increased or decreased to achieve a dynamic increase or decrease of input data.
In this embodiment, the editing of the diagram schema information is also configured by using a similar structure of the dynamic canvas, and the diagram schema information of the diagram data can be represented intuitively by the diagram structure information displayed by the UI. Editing nodes and edges automatically associates schema information of the input data set. The final schema information of the graph to be generated can be directly deduced from the configuration information with relative ease.
Preferably, after the graph data is successfully constructed, the currently successfully constructed graph data set can be queried on the current graph data through a form mode or a Cypher statement query. As shown in fig. 2, the method for querying in a form mode includes: the query conditions are selected and set to construct a query request logically corresponding to the Cypher sentence for querying, thereby providing a simpler and more direct query UI for users who are unfamiliar with Cypher grammar.
Preferably, in order to make the graph exploration result more intuitive and closer to the business logic, the header fields and the colors can be configured according to the node types and the edge types, and different colors can be configured according to the conditions of single attributes.
Specifically, the actual implementation flow of the graph data construction method of this embodiment may be:
1. as shown in fig. 3, a workflow is constructed by using a node data set and an edge data set as input and output respectively;
2. as shown in fig. 4 and 5, the composition components are configured, and the configuration is performed through the structure of the intuitive graph association relationship in the component configuration process;
3. as shown in fig. 6 and fig. 7, after the composition is completed, data exploration can be directly performed on the current graph data set, or the current graph data can be queried by using a Cypher statement.
The foregoing is illustrative of the preferred embodiments of the present invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and is not to be construed as limited to the exclusion of other embodiments, and that various other combinations, modifications, and environments may be used and modifications may be made within the scope of the concepts described herein, either by the above teachings or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A WYSIWYG graph data construction method is characterized in that composition logic is abstracted into a plurality of independent components, each component is abstracted into a single node task in a task flow canvas, and each node task is provided with the same input and output data structure; and each node task in the task flow is sequentially executed, and when the task flow has branches, the tasks are executed in parallel.
2. The WYSIWYG graph data construction method of claim 1 wherein composition logic is packaged as an independent component, data flow through composition process is achieved through related operations, including drag and drop.
3. The WYSIWYG graph data construction method according to claim 2, wherein in the composition process, composition task status is updated in real time to show the current task progress.
4. The WYSIWYG graph data construction method according to claim 2, wherein the assembly is provided with a plurality of data input interfaces for inputting data sets and a data output interface for outputting graph data sets after composition success.
5. The WYSIWYG graph data construction method of claim 4 wherein the number of data input interfaces can be increased or decreased to achieve a dynamic increase or decrease of input data.
6. The WYSIWYG drawing data construction method according to claim 4, characterized in that the editing of drawing schema information is configured by the structure of dynamic canvas and visually represents the schema information of drawing data by the drawing structure information displayed by UI.
7. The method of bye-to-you-get graph data construction of claim 6, wherein editing nodes and edges automatically associates schema information of input data sets.
8. The WYSIWYG graph data construction method according to any one of claims 1-7, wherein after the graph data is successfully constructed, the graph data set which is successfully constructed currently can be queried on the current graph data through a form mode or a Cypher statement query.
9. The WYSIWYG graph data construction method of claim 8 wherein the query by form means is: the query conditions are selected and set to construct a query request that logically corresponds to the Cypher statement.
10. The WYSIWYG graph data construction method of claim 8 wherein query results can configure title fields and colors according to node type and edge type, and different colors according to conditions of a single attribute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210597099.2A CN115203162A (en) | 2022-05-30 | 2022-05-30 | WYSIWYG graph data construction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210597099.2A CN115203162A (en) | 2022-05-30 | 2022-05-30 | WYSIWYG graph data construction method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115203162A true CN115203162A (en) | 2022-10-18 |
Family
ID=83575336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210597099.2A Pending CN115203162A (en) | 2022-05-30 | 2022-05-30 | WYSIWYG graph data construction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115203162A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117171381A (en) * | 2023-11-02 | 2023-12-05 | 之江实验室 | Interactive graph data construction method, system and device based on structured data table |
-
2022
- 2022-05-30 CN CN202210597099.2A patent/CN115203162A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117171381A (en) * | 2023-11-02 | 2023-12-05 | 之江实验室 | Interactive graph data construction method, system and device based on structured data table |
CN117171381B (en) * | 2023-11-02 | 2024-02-09 | 之江实验室 | Interactive graph data construction method, system and device based on structured data table |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104679488B (en) | A kind of flow custom development platform and flow custom development approach | |
US7581189B2 (en) | Dynamically generating a database report during a report building process | |
US20020083414A1 (en) | System and method for a command structure representation | |
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
CN105700888A (en) | Visualization rapid developing platform based on jbpm workflow engine | |
CN111126781A (en) | RPA service flow establishing method and system | |
US20060020931A1 (en) | Method and apparatus for managing complex processes | |
JP6813634B2 (en) | WEB reporting design system for programming event behavior based on graphic interface | |
CN111625226A (en) | Prototype-based human-computer interaction design implementation method and system | |
CN116360766A (en) | Low-code system and device based on DDD visual designer | |
CN114548915A (en) | Method and system for realizing business cross-organization circulation based on process engine | |
CN115576974A (en) | Data processing method, device, equipment and medium | |
CN112337099A (en) | Service management method and device | |
CN116360735A (en) | Form generation method, device, equipment and medium | |
CN115203162A (en) | WYSIWYG graph data construction method | |
CN107491311B (en) | Method and system for generating page file and computer equipment | |
Ram et al. | Collaborative conceptual schema design: a process model and prototype system | |
CN111949915A (en) | Visual customization method and system for production process of remote sensing product | |
CN114297443B (en) | Processing method, device, equipment and storage medium of graph data query statement | |
US20190266265A1 (en) | Integrated computing environment for managing and presenting design iterations | |
CN115525321A (en) | Distributed task generation method, device, equipment and storage medium | |
CN115617441A (en) | Method and device for binding model and primitive, storage medium and computer equipment | |
CN115469860A (en) | Method and system for automatically generating demand-to-software field model based on instruction set | |
CN114238072A (en) | HIL requirement design method, HIL requirement design device, computer equipment and storage medium | |
CN115687704A (en) | Information display method and device, electronic equipment and computer readable storage medium |
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 |