CN111046453A - Method for realizing automatic layout of flow chart - Google Patents
Method for realizing automatic layout of flow chart Download PDFInfo
- Publication number
- CN111046453A CN111046453A CN201911284844.2A CN201911284844A CN111046453A CN 111046453 A CN111046453 A CN 111046453A CN 201911284844 A CN201911284844 A CN 201911284844A CN 111046453 A CN111046453 A CN 111046453A
- Authority
- CN
- China
- Prior art keywords
- characters
- picture frame
- automatically
- character
- flow chart
- 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
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000000903 blocking effect Effects 0.000 claims 1
- 238000012163 sequencing technique Methods 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a method for realizing automatic layout of a flow chart, which comprises the steps of acquiring the number of characters, automatically sequencing from top to bottom or from left to right according to the sequence of character input, automatically generating a matched picture frame according to the number of the characters, and automatically moving a frame body according to the size of the picture frame. The invention has simple structure, can automatically generate matched picture frames according to the quantity of each group of characters, and can automatically realize the vertical centering and the transverse centering of the picture frames, so that the formed flow chart is distributed in a square structure, is clearer and clearer, and simultaneously, the characters and the picture frames are more attractive and meet the requirements of users.
Description
Technical Field
The invention relates to the field of flow chart design, in particular to a method for realizing automatic layout of a flow chart.
Background
In software or project development, the complete process of designing ideas or realizing services is usually expressed more clearly and intuitively by means of a flow chart. The flow chart is composed of a number of frames and flow lines, wherein the frames represent the types of various operations, the characters and symbols in the frames represent the contents of the operations, and the flow lines represent the sequence of the operations.
At present, in order to improve the drawing efficiency, some drawing tools are provided in the prior art, and the drawing tools can be automatically laid out to generate corresponding flow charts. However, in the process of implementing the present invention, the inventor finds that after the flowchart of the general structure is automatically laid out, the generated flowchart as a whole looks clearer, but for the flowchart of the more complex structure, the generated flowchart has problems of improper layout and the like.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for implementing automatic layout of a flow chart, so as to solve the problems proposed in the background art.
The invention is realized by the following technical scheme: a method for realizing automatic layout of a flow chart comprises the following steps:
acquiring the number of characters;
automatically sorting from top to bottom or from left to right according to the character input sequence;
automatically generating a matched picture frame according to the number of the characters;
automatically moving the frame body according to the size of the picture frame.
As a preferred technical scheme, the number of characters is acquired for calculating the number of characters in each group after being input;
and the character quantity acquisition also comprises the step of selecting the character style according to the preference of the character, and the input characters can select the preferred style according to the font style so as to ensure the attractiveness and the simplicity of the input font.
As a preferred technical scheme, the characters are automatically sorted from top to bottom or from left to right according to the character input sequence, the input main characters are longitudinally sorted, the secondary characters separated from the main characters are arranged on two sides of the main characters, and are arranged on the other side after the characters are blocked once, so that disorder between the characters is avoided, and when the characters are blocked on the two sides, the characters are arranged on the lower end or the upper end of the blocked characters.
As a preferred technical scheme, automatically generating a matched picture frame according to the number of characters, and automatically putting a picture frame matched with the size of a group of characters on an external automatic frame of the group of characters;
and automatically generating a matched picture frame according to the number of the characters, and selecting a picture frame pattern according to the preference of the user, wherein the picture frame pattern is adjusted through a frame pattern or a line type.
As a preferred technical scheme, the picture frame is automatically moved according to the size of the picture frame, the number of characters is different, and the size of the picture frame formed outside the characters is also different, so that the picture frame is automatically moved according to the size of the picture frame;
the automatically moving picture frame according to the size of the picture frame further comprises a vertical picture frame which is arranged in the middle, a transverse picture frame which is also arranged in the middle, a main character which is arranged in the middle, a secondary character which is transversely arranged on one side of the main character and a secondary character which is also arranged in the middle vertically, so that the formed picture frame is distributed in a square structure.
The invention has the beneficial effects that: the invention has simple structure, can automatically generate matched picture frames according to the quantity of each group of characters, and can automatically realize the vertical centering and the transverse centering of the picture frames, so that the formed flow chart is distributed in a square structure, is clearer and clearer, and simultaneously, the characters and the picture frames are more attractive and meet the requirements of users.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating the automatic sequencing of the flow chart according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, it should be noted that unless otherwise explicitly stated or limited, the terms "mounted," "connected," and "disposed" are to be construed broadly and can, for example, be fixedly connected, disposed, detachably connected, disposed, or integrally connected and disposed. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
As shown in fig. 1, a method for implementing automatic layout of a flowchart according to the present invention includes:
acquiring the number of characters;
automatically sorting from top to bottom or from left to right according to the character input sequence;
automatically generating a matched picture frame according to the number of the characters;
automatically moving the frame body according to the size of the picture frame.
As a preferred technical scheme, the number of characters is acquired for calculating the number of characters in each group after being input;
and the character quantity acquisition also comprises the step of selecting the character style according to the preference of the character, and the input characters can select the preferred style according to the font style so as to ensure the attractiveness and the simplicity of the input font.
As a preferred technical scheme, the characters are automatically sorted from top to bottom or from left to right according to the character input sequence, the input main characters are longitudinally sorted, the secondary characters separated from the main characters are arranged on two sides of the main characters, and are arranged on the other side after the characters are blocked once, so that disorder between the characters is avoided, and when the characters are blocked on the two sides, the characters are arranged on the lower end or the upper end of the blocked characters.
As a preferred technical scheme, automatically generating a matched picture frame according to the number of characters, and automatically putting a picture frame matched with the size of a group of characters on an external automatic frame of the group of characters;
and automatically generating a matched picture frame according to the number of the characters, and selecting a picture frame pattern according to the preference of the user, wherein the picture frame pattern is adjusted through a frame pattern or a line type.
As a preferred technical scheme, the picture frame is automatically moved according to the size of the picture frame, the number of characters is different, and the size of the picture frame formed outside the characters is also different, so that the picture frame is automatically moved according to the size of the picture frame;
the automatically moving picture frame according to the size of the picture frame further comprises a vertical picture frame which is arranged in the middle, a transverse picture frame which is also arranged in the middle, a main character which is arranged in the middle, a secondary character which is transversely arranged on one side of the main character and a secondary character which is also arranged in the middle vertically, so that the formed picture frame is distributed in a square structure.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that are not thought of through the inventive work should be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.
Claims (5)
1. A method for realizing automatic layout of a flow chart is characterized in that: the method comprises the following steps:
acquiring the number of characters;
automatically sorting from top to bottom or from left to right according to the character input sequence;
automatically generating a matched picture frame according to the number of the characters;
automatically moving the frame body according to the size of the picture frame.
2. The method for implementing automatic layout of flow chart according to claim 1, wherein: acquiring the number of characters for calculating the number of the characters in each group after being input;
and the character quantity acquisition also comprises the step of selecting the character style according to the preference of the character, and the input characters can select the preferred style according to the font style so as to ensure the attractiveness and the simplicity of the input font.
3. The method for implementing automatic layout of flow chart according to claim 1, wherein: the input main characters are longitudinally sequenced from top to bottom or from left to right automatically according to the sequence of character input, the secondary characters separated from the main characters are arranged on two sides of the main characters, and are arranged on the other side after being blocked by the characters once, so that disorder between the characters is avoided, and the secondary characters are arranged on the lower end or the upper end of the blocking literature after being blocked by the characters.
4. The method for implementing automatic layout of flow chart according to claim 1, wherein: automatically generating a matched picture frame according to the number of the characters, and automatically putting a picture frame matched with the size of the group of characters on an external automatic frame of the group of characters;
and automatically generating a matched picture frame according to the number of the characters, and selecting a picture frame pattern according to the preference of the user, wherein the picture frame pattern is adjusted through a frame pattern or a line type.
5. The method for implementing automatic layout of flow chart according to claim 1, wherein: automatically moving the picture frame according to the size of the picture frame, wherein the number of characters is different, and the size of the picture frame formed outside the characters is also different, so that the picture frame is automatically moved according to the size of the picture frame;
the automatically moving picture frame according to the size of the picture frame further comprises a vertical picture frame which is arranged in the middle, a transverse picture frame which is also arranged in the middle, a main character which is arranged in the middle, a secondary character which is transversely arranged on one side of the main character and a secondary character which is also arranged in the middle vertically, so that the formed picture frame is distributed in a square structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911284844.2A CN111046453A (en) | 2019-12-13 | 2019-12-13 | Method for realizing automatic layout of flow chart |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911284844.2A CN111046453A (en) | 2019-12-13 | 2019-12-13 | Method for realizing automatic layout of flow chart |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111046453A true CN111046453A (en) | 2020-04-21 |
Family
ID=70236277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911284844.2A Pending CN111046453A (en) | 2019-12-13 | 2019-12-13 | Method for realizing automatic layout of flow chart |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111046453A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214192A (en) * | 2020-10-22 | 2021-01-12 | 深圳市皓丽智能科技有限公司 | Operation method and system of intelligent interactive tablet, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4875187A (en) * | 1986-07-31 | 1989-10-17 | British Telecommunications, Plc | Processing apparatus for generating flow charts |
US4891770A (en) * | 1986-07-31 | 1990-01-02 | British Telecommunications Public Limited Company | Apparatus and process for creating variably sized block diagrams to accommodate variable text contents while yet retaining overall block shape |
CN1530856A (en) * | 2003-03-12 | 2004-09-22 | ������������ʽ���� | Placement system, programm and method |
CN101013418A (en) * | 2007-02-15 | 2007-08-08 | 北京大学 | Auto-adaptive typesetting method for word in textbox |
-
2019
- 2019-12-13 CN CN201911284844.2A patent/CN111046453A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4875187A (en) * | 1986-07-31 | 1989-10-17 | British Telecommunications, Plc | Processing apparatus for generating flow charts |
US4891770A (en) * | 1986-07-31 | 1990-01-02 | British Telecommunications Public Limited Company | Apparatus and process for creating variably sized block diagrams to accommodate variable text contents while yet retaining overall block shape |
CN1530856A (en) * | 2003-03-12 | 2004-09-22 | ������������ʽ���� | Placement system, programm and method |
CN101013418A (en) * | 2007-02-15 | 2007-08-08 | 北京大学 | Auto-adaptive typesetting method for word in textbox |
Non-Patent Citations (3)
Title |
---|
唐立波: "程序框图的自动生成交互系统" * |
张宗科: "流程框图的快速重绘及转化应用" * |
才忠胜: "流程图的自动生成系统" * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214192A (en) * | 2020-10-22 | 2021-01-12 | 深圳市皓丽智能科技有限公司 | Operation method and system of intelligent interactive tablet, computer equipment and storage medium |
CN112214192B (en) * | 2020-10-22 | 2023-08-04 | 深圳市皓丽智能科技有限公司 | Operation method, system, computer equipment and storage medium of intelligent interaction panel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104540144B (en) | A kind of network architecture of the customer-centric based on software definition | |
CN103186912B (en) | The method and system of word are shown with picture format | |
CN111046453A (en) | Method for realizing automatic layout of flow chart | |
CN101908216B (en) | Method and device for realizing vector fonts | |
CN102387239A (en) | Method for implementing dynamic wallpaper of mobile phone | |
CN109886890A (en) | A kind of application icon processing method and processing device | |
CN109375971A (en) | Layout method and device, storage medium, the electronic device of the page | |
CN112381909B (en) | Lightweight flow chart drawing system based on Canvas | |
CN105812881B (en) | A kind of window processing method, system and the television set of user interface | |
CN103026319B (en) | Based on character input method and the device of direction key | |
CN106777344A (en) | The back end extended method and device of a kind of data-base cluster | |
CN102768763A (en) | Method and device for outlining characters | |
CN106161276A (en) | A kind of method and apparatus adjusting network traffics | |
CN110544284B (en) | Method for automatically planning optimal layout flow chart | |
CN103746943B (en) | Method for establishing VLAN subinterface and exchange chip using the same | |
CN106372253A (en) | Route planning method and system | |
CN103889005B (en) | A kind of cooperative multipoint transmission dispatching method and device | |
CN107168673A (en) | Control method, device and system, storage medium and the processor of window | |
CN102083045A (en) | Method and device for processing service charging | |
CN105159946A (en) | Table sorting method and system based on jQuery | |
CN107632756A (en) | Programs menu display methods and terminal | |
CN107067449A (en) | A kind of polygonal rectangular window cutting system | |
CN100363869C (en) | Method for inputting dynamic display window of mobile telecommunication terminal | |
CN110109588A (en) | Unlimited dilatory circular list display methods and system based on Unity | |
CN110276058A (en) | A kind of method, storage medium and terminal that text exhibition frame length limits |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200421 |