[go: up one dir, main page]

JPS63284679A - Connection line display processing method for graphical element connection diagrams - Google Patents

Connection line display processing method for graphical element connection diagrams

Info

Publication number
JPS63284679A
JPS63284679A JP62120609A JP12060987A JPS63284679A JP S63284679 A JPS63284679 A JP S63284679A JP 62120609 A JP62120609 A JP 62120609A JP 12060987 A JP12060987 A JP 12060987A JP S63284679 A JPS63284679 A JP S63284679A
Authority
JP
Japan
Prior art keywords
symbol
connection
symbols
connection line
line
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
JP62120609A
Other languages
Japanese (ja)
Inventor
Yasuo Iwami
岩見 泰夫
Masaaki Wakamoto
雅晶 若本
Mitsuki Fukazawa
光規 深沢
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62120609A priority Critical patent/JPS63284679A/en
Publication of JPS63284679A publication Critical patent/JPS63284679A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To display easy-to-see connection lines by deciding the layout of connection lines based on position information on all branched symbols connected with branching to a certain unbranched symbol and the position information on the unbranched symbol and also in consideration of the position relation among the branched symbols. CONSTITUTION:All position information on a unbranched symbol 23 and branched symbols 24-30 are inputted and a coordinate line 31 equal to the vertical coordinates of the symbol 23 is supposed as a reference line. Then data is produced to draw a connection line parallel to the reference line 32 between a branch symbol most distant from the symbols 24-30 and a point passed from a branch symbol nearest to the symbols 24-30 by a fixed distance. Then the vertical connection lines are drawn toward the line 31 from each end point of connection lines 32-35. These vertical connection lines end when they cross the horizontal connection lines. Finally a connection line 39 is drawn on the line 31 up to the end point of a vertical connection line 38 set at the most distant position.

Description

【発明の詳細な説明】 〔概要〕 本発明は図形要素〈シンボル)とそれらの間を結ぶ接続
線とからなる図形要素連結図を編集9表示する方式にお
いて、 シンボル間の接続途中で分岐がある場合に接続線が複雑
になったり、伯のシンボルや接続線の邪魔になったりす
ることを解決するため、成るシンボル(分岐前シンボル
)に対して分岐接続されるすべてのシンボル(分岐後シ
ンボル)の位置情報と分岐前シンボルの位置情報とから
、各分岐後シンボルの位置関係を考慮して接続線の配置
を決めることにより、 分岐前シンボルと各分岐後シンボルとの間の接続線を@
適な位置に配置し、表示できるようにしたものである。
[Detailed Description of the Invention] [Summary] The present invention provides a method for editing and displaying a graphical element connection diagram consisting of graphical elements (symbols) and connection lines connecting them, in which there is a branch in the middle of the connection between the symbols. In order to solve the problem where the connecting line becomes complicated or gets in the way of the Haku symbol or the connecting line, all symbols that are branched and connected to the symbol that consists of it (pre-branching symbol) (post-branching symbol). From the position information of the pre-branch symbol and the position information of the pre-branch symbol, the connection line between the pre-branch symbol and each post-branch symbol is determined by considering the positional relationship of each post-branch symbol.
It is placed in an appropriate position so that it can be displayed.

〔産業上の利用分野〕[Industrial application field]

本発明は図形要素連結図の接続線表示処理方式に係り、
特に図形要素(シンボル)の種別とその位置情報及び接
続情報とを有する図形データの入力により、81算機処
理にて自動的に表示画面上にシンボルを図形データに基
づいて配置していくことにより、状態遷移図のような図
形要素連結図を表示する際の接続線の表示処理方式に関
する。
The present invention relates to a connection line display processing method for a graphical element connection diagram,
In particular, by inputting graphic data that includes the type of graphic element (symbol), its position information, and connection information, symbols are automatically placed on the display screen based on the graphic data using 81 computer processing. , relates to a display processing method for connection lines when displaying a graphical element connection diagram such as a state transition diagram.

図形要素連結図を自動的に編集9表示する図形編集1表
示システムでは、図形要素連結図の接続線毎の位置情報
のデータ量は多量であるため、小規模システムの場合は
その位置情報を記憶装置に保持せず、各シンボル間の位
置関係から自動的に接続線の位置情報を棹出し、それを
表示する。その接続線の表示にあたっては、成るシンボ
ルから別の2以上のシンボルへ接続線が分岐して接続す
る場合(本明細書においては、前者を分岐前シンボル、
後者を分岐後シンボルというものとする。)、見易い形
で、かつ、多くのシンボルが配置できるように接続線の
位置を決め、表示することが必要になる。
In the figure editing 1 display system that automatically edits and displays the figure element connection diagram, the amount of data of the position information for each connection line of the figure element connection diagram is large, so in the case of a small-scale system, the position information is memorized. The positional information of connecting lines is automatically generated from the positional relationship between each symbol without being stored in the device, and is displayed. When displaying the connection line, if the connection line branches from a symbol to two or more other symbols (in this specification, the former is the pre-branch symbol,
The latter is called a post-branch symbol. ), it is necessary to determine and display the connection lines in an easy-to-see manner and in a way that allows many symbols to be placed.

〔従来の技術〕[Conventional technology]

第8図は従来方式の一例の構成図、第9図は従来方式の
動作説明用フローチャートを示す。第8図において、シ
ンボル種別2位置情報及び接続情報を有する図形データ
1のうち最初のシンボルデータは、次シンボル取出部2
を経て前シンボル蓄積部3に蓄積される一方、シンボル
表示部4及び接続線表示部5に夫々供給される。この最
初のシンボルデータはシンボル表示部4を通して出力装
置6に供給され、ここでそのシンボルが表示される。出
力装置6としては、ディスプレイ、プリンタなどがある
FIG. 8 is a block diagram of an example of the conventional method, and FIG. 9 is a flowchart for explaining the operation of the conventional method. In FIG. 8, the first symbol data among the graphic data 1 having symbol type 2 position information and connection information is stored in the next symbol extraction unit 2.
While being stored in the previous symbol storage section 3 through the above, it is supplied to the symbol display section 4 and the connection line display section 5, respectively. This first symbol data is supplied through the symbol display section 4 to the output device 6, where the symbol is displayed. Examples of the output device 6 include a display and a printer.

図形データ1の2番目のシンボルデータは上記と同様に
して出力装置6によりそのシンボルが表示される。また
、接続線表示部5は次シンボル取出部2よりの上記2番
目のシンボルデータと、前シンボル蓄積部3よりの現在
読み出しているシンボルより1つ前に読み出された前記
最初のシンボルデータとに基づいて両シンボル間の接続
線を算出し、それを出力装置6により表示させる。以)
、上記と同様の動作が繰り返される。
The symbol of the second symbol data of the graphic data 1 is displayed by the output device 6 in the same manner as described above. The connection line display section 5 also displays the second symbol data from the next symbol extraction section 2 and the first symbol data read out one symbol before the currently read symbol from the previous symbol storage section 3. A connecting line between both symbols is calculated based on the , and is displayed on the output device 6. )
, the same operation as above is repeated.

ここで、接続線表示部5は第9図に示すフローチャート
に従って接続線を決定する。同図においで、変数iにま
ず「1」を設定しくステップS1)、次に次シンボル取
出部2よりのシンボルデータの頂点座標(X 、yl)
と、前シンボル蓄積部3よりのシンボルデータの頂点座
標(X□ 、 V□ )とに基づき、(xo、y(1)
と(x、−(W/2)、VO)とを結ぶ第1の線分、(
x、−(W/2>、VO)と(×・−(W/2)、yH
)とを結ぶ! 第2の線分、及び(×・−(W/2>、yH)と■ (X 、yi)とを結ぶ第3の線分とよりなる接置 紐線を算出する(ステップS2)。
Here, the connection line display section 5 determines the connection line according to the flowchart shown in FIG. In the figure, the variable i is first set to "1" (step S1), and then the vertex coordinates (X, yl) of the symbol data from the next symbol extraction unit 2 are set.
and the vertex coordinates (X□, V□) of the symbol data from the previous symbol storage unit 3,
The first line segment connecting (x, - (W/2), VO), (
x, −(W/2>, VO) and (×・−(W/2), yH
) and connect! A tangent line consisting of the second line segment and the third line segment connecting (x.-(W/2>, yH) and (X, yi) is calculated (step S2).

ここで、出力装置6は、全表示領域を各4幅Wで高さH
の矩形状の多数の区画(メツシュ)にマトリクス状に分
割され、上記の各シンボルは各々所定の区画の中央に配
置されるから、上記の第2の線分は相隣る2つのメツシ
ュの境界上の縦線となる。
Here, the output device 6 has a total display area of 4 widths W and a height H.
is divided into a large number of rectangular sections (mesh) in a matrix, and each of the above symbols is placed at the center of each predetermined section, so the above second line segment is the boundary between two adjacent meshes. This will be the vertical line at the top.

次に、変数iの値を「1」だけ増加させ(ステップS3
)、その変数iの値が分岐後シンボル数nの値より大と
なったか否か判定され(ステップS4)、nの値よりi
の値が大となるまで」二記のステップ82〜S4の処理
動作を繰り返す。
Next, the value of variable i is increased by "1" (step S3
), it is determined whether the value of the variable i has become larger than the value of the number of symbols after branching n (step S4), and
The processing operations of steps 82 to S4 described in section 2 are repeated until the value of becomes large.

これにより、従来方式によれば、上記のステップS2の
処理により算出決定された接続線の表示を行なうことに
より、第6図(A)、第7図(A)に示す如き図形要素
連結図を表示していた。ここで、第6図及び第7図中、
8及び14は分岐前シンボル、9〜12.15〜17は
分岐後シンボルである。従来方式では接続線は第6図(
A)においては分岐後シンボル10〜12の各々のすぐ
隣りに接続線が立上げられて表示され、第7図(A)に
おいては分岐前シンボル14のすぐ隣りに接続線が立子
げられて表示される。
As a result, according to the conventional method, by displaying the connection lines calculated and determined by the process of step S2 above, graphical element connection diagrams such as those shown in FIGS. 6(A) and 7(A) can be created. It was displayed. Here, in FIGS. 6 and 7,
8 and 14 are pre-branch symbols, 9 to 12, and 15 to 17 are post-branch symbols. In the conventional method, the connection line is as shown in Figure 6 (
In A), connection lines are displayed standing up right next to each of the post-branch symbols 10 to 12, and in FIG. 7(A), connection lines are displayed standing up right next to the symbol 14 before branching be done.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、従来の表示方式では接続線の鼻出、決定にあた
って、分岐後シンボルの各々の間での位置関係を考慮し
ていなかったので、第6図(A)の場合は接続線が複雑
になり見難く、また第6図(A>及び第7図(A)にお
いて破線で示したシンボル13,18.19も表示する
場合は、接続線が交差してしまい、このような接続線の
交差なく配置できるシンボルの数が少ないなどの問題点
を有していた。
However, in the conventional display method, the positional relationship between each branched symbol was not taken into consideration when determining the protrusion of the connecting line, so in the case of Figure 6 (A), the connecting line became complicated. It is difficult to see, and if symbols 13, 18, and 19 shown with broken lines in Figure 6 (A> and Figure 7 (A)) are also displayed, the connecting lines will intersect, and the It had problems such as a small number of symbols that could be placed.

本発明は上記の点に鑑みて創作されたもので、見易い接
続線を表示することができる図形要素連結図の接続線表
示処理方式を提供することを目的とする。
The present invention was created in view of the above points, and an object of the present invention is to provide a connection line display processing method for a graphic element connection diagram that can display connection lines that are easy to see.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理構成図を示す。同図中、第8図と
同一構成部分には同一符号を付しである。
FIG. 1 shows a basic configuration diagram of the present invention. In the figure, the same components as in FIG. 8 are given the same reference numerals.

第1図において、本発明では次シンボル蓄積部20と、
前シンボル蓄積部3と、接続線表示部21とを具備して
いる。
In FIG. 1, in the present invention, a next symbol storage section 20,
It includes a previous symbol storage section 3 and a connection line display section 21.

図形要素であるシンボルの種別と位置情報及び接続情報
とを有する図形データ1を、次シンボル取出部2により
順次に取り出し、シンボル表示部4を通して出力装置6
に供給することにより表示した各シンボルの間の接続線
を図形データ1に基づいて締出表示する図形要素連結図
の接続線表示処理方式において、次シンボル蓄積部20
は第1のシンボルから接続線を分岐して2以上の第2の
シンボルの夫々に接続する場合に、すべての第2のシン
ボルの位置情報を蓄え、前シンボル蓄積部3は第1のシ
ンボルの位置座標を蓄える。
Graphic data 1 having symbol types, position information, and connection information, which are graphic elements, are sequentially extracted by the next symbol extracting section 2 and passed through the symbol display section 4 to the output device 6.
In the connection line display processing method for a graphical element connection diagram in which the connection lines between the displayed symbols are excluded and displayed based on the graphic data 1, the next symbol storage unit 20
When branching a connecting line from a first symbol and connecting it to each of two or more second symbols, stores the position information of all the second symbols, and the previous symbol storage unit 3 stores the position information of the first symbol. Store position coordinates.

接続線表示部21は第2のシンボルの位置座標を縦座標
及び横座標別に大小順に分類したブープルを設定し、こ
のテーブル及び第1のシンボルの位置座標に基づいてす
べての第2のシンボルの装置関係を考慮した接続線を表
示する接続線表示データを生成する。
The connection line display unit 21 sets a boolean in which the position coordinates of the second symbols are classified in order of magnitude according to the vertical and horizontal coordinates, and displays all the devices of the second symbols based on this table and the position coordinates of the first symbol. Generate connection line display data that displays connection lines that take relationships into consideration.

〔作用〕[Effect]

接続線表示部21は次シンボル蓄積部2oよりのすべて
の第2のシンボル(分岐後シンボル)の位置座標から前
記テーブルを設定する。いま、第1のシンボル(分岐前
シンボル)を第2図に破線23で示したシンボルとし、
第2のシンボルを第2図に24〜30で示すものとする
と、接続線表示部21は、第2図(A)に示す如く上記
テーブルと第1のシンボル23の位置情報とに基づいて
第1のシンボル23の縦座標に等しい座標(厳密には第
1のシンボルのあるメツシュと、その直下にあるメツシ
ュとの境界の座標)の基準線31に想定し、前記テーブ
ルからのこの基準線31に平行な接続線を、第2のシン
ボル24〜30に対して最も遠い第2のシンボルから最
も近い第2のシンボルより第1のシンボル23側へ一定
距離すぎた点まで引くデータを生成する。この一定距離
は、横方向に最も近接する2つのシンボルの中心間の距
離の1/2の距1it(メツシュの幅Wの1/2の距#
)である。これにより、第2図(B)に32〜35で示
す接続線が引かれる。
The connection line display section 21 sets the table from the position coordinates of all the second symbols (post-branch symbols) from the next symbol storage section 2o. Now, let the first symbol (pre-branch symbol) be the symbol shown by the broken line 23 in FIG.
Assuming that the second symbols are indicated by 24 to 30 in FIG. Assuming that the reference line 31 has a coordinate equal to the ordinate of the first symbol 23 (strictly speaking, the coordinate of the boundary between the mesh where the first symbol is located and the mesh immediately below it), this reference line 31 from the table Data is generated in which a connecting line parallel to the second symbols 24 to 30 is drawn from the farthest second symbol to a point a certain distance further toward the first symbol 23 than the nearest second symbol. This constant distance is 1it, which is 1/2 the distance between the centers of the two symbols closest to each other in the horizontal direction (distance #, which is 1/2 the width W of the mesh)
). As a result, connection lines shown at 32 to 35 in FIG. 2(B) are drawn.

次に、接続線表示部21は上記の横方向の4本の接続線
32〜35の各終点から基準線31に向って縦方向の接
続線を引き、その途中で別6の横方向の接続点と交わる
場合は接続点をそこで止めるような縦方向接続線のデー
タを生成する。また、横方向接続線が基準線31と一致
する場合は縦方向接続線は引かない。これにより、第2
図(C)に横方向の4木の接続線32−35に対応して
3本の縦方向接続線36〜38が引かれる。
Next, the connection line display section 21 draws a vertical connection line from each end point of the four horizontal connection lines 32 to 35 toward the reference line 31, and in the middle, draws another six horizontal connection lines. If it intersects with a point, data for a vertical connection line is generated that stops the connection point there. Furthermore, if the horizontal connection line coincides with the reference line 31, no vertical connection line is drawn. This allows the second
In Figure (C), three vertical connection lines 36 to 38 are drawn corresponding to four horizontal connection lines 32 to 35.

次に、接続線表示部21は第1のシンボル23から最も
遠い位置にある縦接続線38の終点まで、基準線31上
の横接続線を引くデータを生成する。
Next, the connection line display unit 21 generates data for drawing a horizontal connection line on the reference line 31 from the first symbol 23 to the end point of the vertical connection line 38 located at the farthest position.

これにより、第2図(D)に39で示す叩く、横接続線
が引かれ、接続線の表示処理が終了する。
As a result, a horizontal connecting line shown at 39 in FIG. 2(D) is drawn, and the process of displaying the connecting line is completed.

このようにして、本発明により、第2のシンボルのすべ
ての位置関係を考慮した接続線の表示処理を行なうこと
ができる。
In this way, according to the present invention, connection line display processing can be performed that takes into account all the positional relationships of the second symbols.

(実施例) 次に前記接続線表示部21による表示処理動作の一実施
例について第3図に示すフローヂャート、第4図に示す
接続線表示前のシンボル表示、及び第5図の接続線の表
示過稈を示す図と共に説明する。
(Example) Next, regarding an example of the display processing operation by the connection line display section 21, a flowchart shown in FIG. 3, a symbol display before connection line display shown in FIG. 4, and a connection line display shown in FIG. 5 are shown. This will be explained with a diagram showing the overculm.

第3図において、まず表示されている各シンボルの縦座
標V1.V2 、・・・、yoを分類して−1−プルに
設定する(ステップ51o)。なお、縦座標(y座標)
y1〜yoのうちの最大値をYIllax。
In FIG. 3, first, the ordinate V1 of each symbol being displayed. V2, . . . , yo are classified and set to -1-pull (step 51o). In addition, the ordinate (y coordinate)
The maximum value among y1 to yo is YIllax.

最小値をYIIlioとする。Let the minimum value be YIIlio.

ここで、いま上記の表示されている各シンボルのうち、
第1のシンボル(分岐前シンボル)に相当するシンボル
を第4図に40で示し、第2のシンボル(分岐後シンボ
ル)に相当するシンボルを同図に41〜45で夫々示す
ものとする。また、これらのシンボル40〜45及び他
のシンボルは、すべて全表示領域を各4幅Wで高さト1
の矩形状の多数のメツシュ(第4図に破線で示す)でマ
トリクス状に分割したとぎの、所定のメッシコ内に配置
されるように表示処理が行なわれることは前記した通り
である。
Now, among the symbols displayed above,
A symbol corresponding to the first symbol (pre-branch symbol) is indicated by 40 in FIG. 4, and symbols corresponding to the second symbol (post-branch symbol) are indicated by 41 to 45, respectively. In addition, these symbols 40 to 45 and other symbols all occupy the entire display area with 4 widths W and a height of 1
As described above, the display processing is performed so that the images are arranged in a predetermined mesh divided into a matrix by a large number of rectangular meshes (indicated by broken lines in FIG. 4).

次に前記接続線表示部21は変数Yの値を前記最小値Y
  としだ後(第3図中、ステップ511)1n 、同じ縦座標にある1又は2以十のシンボルのうち、横
座標(×座標)の最大飴(すなわち、分岐前シンボル4
0から最も離れているシンボルのX座標値)を×  1
最小値をXm1nとすることを、1lax すべての分岐後シンボル41〜46について行なってテ
ーブルに設定する(第3図中、ステップ512)。
Next, the connection line display section 21 changes the value of the variable Y to the minimum value Y
After starting (step 511 in FIG. 3) 1n, the largest candy on the abscissa (x coordinate) among the 1, 2 or more symbols on the same ordinate (i.e., the pre-branch symbol 4)
X coordinate value of the symbol farthest from 0) x 1
The minimum value is set to Xm1n for all 1lax branched symbols 41 to 46 and set in the table (step 512 in FIG. 3).

これにより、第4図に示した各シンボルについては、次
表のテーブルが設定されることになる。
As a result, the following table will be set for each symbol shown in FIG.

次に、点(X   、Y))と点(xlIlio−ma
x (w/2)、Y)とを結ぶ線分を横接続線(横方向接続
線)として引く(第3図中、ステップ513)。ここで
、最初は前記ステップS11により縦座標YはY゛・ 
であり、前記デープルよりYIIlioは1n V   2H(−V6)であり、かつ、Xmaxはx6
.Xm1o43×6であるから、第5図(A)にalで
示す如く、分岐後シンボル46の頂点(x6.yo−2
H)から点(x e  (w / 2 ) 。
Next, point (X, Y)) and point (xlIlio-ma
A line segment connecting x (w/2), Y) is drawn as a horizontal connection line (horizontal connection line) (step 513 in FIG. 3). Here, initially, the ordinate Y is determined by step S11 as Y゛・
From the above daple, YIIlio is 1n V 2H (-V6), and Xmax is x6
.. Since Xm1o43x6, the vertex of symbol 46 after branching (x6.yo-2
H) to the point (x e (w/2).

Vo−(H/2>)まで分岐前シンボル40方向に横接
続線が引かれる。
A horizontal connection line is drawn in the direction of the pre-branch symbol 40 up to Vo-(H/2>).

次に、第3図のステップ814にて変数Yの値がメツシ
ュの高さH分だけ加算された値に変更された後、ステッ
プS15にてその変更後の値Yが、前記最大値YIIl
axより大となったか否か判定され、YがYmaxより
大となるまで上記のステップS12゜S  S 及びS
l、の処理動作が繰り返される。
Next, in step 814 of FIG. 3, the value of the variable Y is changed to a value added by the height H of the mesh, and then in step S15, the changed value Y is changed to the maximum value YIIl.
It is determined whether or not Y has become larger than Ymax, and the above steps S12゜S S and S are continued until Y becomes larger than Ymax.
1 is repeated.

13・  14 これにより、縦座標y。−H(=y1=”:2 )では
Xll1ax−×2.X□in−×1であるから点(x
  、  y  =I−1)と点(xl  (W/2)
13・14 This gives the ordinate y. -H(=y1=”:2), since Xll1ax-×2.X□in-×1, the point (x
, y = I-1) and the point (xl (W/2)
.

V6−H)とを結ぶ線分、縦座標y。(=y3)ではX
   −X  ・ −X であるから点(×3゜max
     man     3 VO)と点(x3− (W/ 2 > 、 V6 )と
を結ぶ線分、縦座標Vo +H(−V4 = V5 )
ではxII18x−×5.Xll1io−×4であるか
ら点(×5゜V□+H)と点(x4− (、W/2) 
、 V□ +1−1)とを結ぶ線分が第5図(A)に8
2 、 a3 、 a4で示す如く横接続線としで順次
に引かれる。以上のステップSio””” S15の処
理は第2図(B)と共に説明した第1の処理動作に相当
する。
Line segment connecting V6-H), ordinate y. (=y3) then X
Since −X ・ −X, the point (×3゜max
The line segment connecting man 3 VO) and the point (x3- (W/2 > , V6), ordinate Vo +H (-V4 = V5)
So xII18x-x5. Since Xll1io−×4, the point (×5°V□+H) and the point (x4− (, W/2)
, V□ +1-1) is shown in Figure 5 (A) as 8
Horizontal connecting lines are drawn sequentially as shown by 2, a3, and a4. The above processing of step Sio""" S15 corresponds to the first processing operation described in conjunction with FIG. 2(B).

次に、接続線表示部21は縦座標の変数Yの値がY  
を超えると、再びYIIlloの値に設定しmax (第3図中、ステップ516)、縦座標YにおけるX1
inと縦座標Y−y(、の間の各最小値Xll1ioを
比較し、YにおけるxlIlioより小さいものがあれ
ばその縦座標をYBとし、無ければ分岐前シンボル40
の縦座標y。をY、とする(同、ステップ517)。し
かる後に、点(Xmin −(W/2) 。
Next, the connection line display section 21 shows that the value of the variable Y on the ordinate is Y
When the value exceeds max, the value of YIIIllo is set again to max (step 516 in FIG. 3), and X1 at the ordinate Y is
Compare each minimum value Xll1io between in and the ordinate Y-y(,, and if there is one smaller than xlIlio at Y, set its ordinate to YB; if not, set the pre-branch symbol 40
The ordinate of y. Let be Y (step 517). After that, the point (Xmin - (W/2)).

Y)と点(× ・ −(W/2)、YB)とを結ぶm1
n 線分を縦接続線(縦方向接続線)として引く(第3図中
、ステップ518)。そして、変数Yの値をト1だ【ノ
加算した後、Yの値を前記縦座標の最大値” maxと
大小判定し、” maxを超えるまで上記のステップS
17〜S2oの処理動作を繰り返す。
m1 connecting Y) and point (× ・ -(W/2), YB)
n line segments are drawn as vertical connection lines (vertical connection lines) (step 518 in FIG. 3). Then, after adding the value of the variable Y, the value of Y is determined to be larger or smaller than the maximum value of the ordinate, and the above step S is repeated until it exceeds max.
17 to S2o are repeated.

これにより、縦座標y。−2HではYB−V□−11と
なるから、点<x6− (W/2)、yo−2H)と点
(x6− (W/2>、yo−H)とを結ぶ線分が、縦
座標y。−HではY B= yoであるから点(xl 
 (W/2) 、yo  II)と点(xl   (W
/2>、Vo)とを結ぶ線分が更に縦座標y。+11で
はYB””Oであるので、点(x4− (W/2)、y
o+H)と点(×4−(W/ 2 ) 、 VO)とを
結ぶ線分が、夫々縦接続線として第5図(旧にす、b2
.b3で示す順番で順次に引かれる。なお。この処理動
作において、縦座標y ではYB=V6であるから、縦
接続線は引かれない。このステップ816〜S20の処
理動作は前記第2図(C)と共に説明した第2の処理動
作に相当する。
This gives the ordinate y. -2H becomes YB-V□-11, so the line segment connecting the point <x6- (W/2), yo-2H) and the point (x6- (W/2>, yo-H) is vertical At the coordinate y.-H, Y B = yo, so the point (xl
(W/2), yo II) and point (xl (W
/2>, Vo) and the ordinate is y. At +11, YB""O, so the point (x4- (W/2), y
The line segments connecting the point (x4-(W/2), VO) and the point (x4-(W/2), VO) are shown in Figure 5 (old version, b2) as vertical connecting lines.
.. They are drawn sequentially in the order indicated by b3. In addition. In this processing operation, no vertical connecting line is drawn since YB=V6 at the ordinate y. The processing operations of steps 816 to S20 correspond to the second processing operation described with reference to FIG. 2(C).

次に接続線表示部21は前記テーブル中、各縦座標にお
ける最小値Xm1nのうち最大のものをX ・   と
しく第3図中、ステップ521)、点m l n−ma
X (Xmin−max −(W/2 ) 、  yO)と
点(xo。
Next, the connection line display unit 21 sets the maximum value among the minimum values Xm1n at each ordinate in the table as
X (Xmin-max - (W/2), yO) and the point (xo.

yo)とを結ぶ線分を横接続線として引く(同、ステッ
プ522)。従って、前記テーブルかられかるように、
Xmin−max −X4 =X6であり、点(x  
−(W/2)、V□ )と点(x□ 、  y□ )と
を結ぶ横接続線が、第5図(C)にCI、C2で示す如
くに引かれる。このステップS21及び822の処理は
、前記第2図(1つ)と共に説明した第3図の処理動作
に相当する。このようにして、分岐の接続線の表示処理
が完了する。
yo) is drawn as a horizontal connecting line (step 522). Therefore, as seen from the table above,
Xmin-max-X4 =X6, and the point (x
-(W/2), V□) and the point (x□, y□) are drawn as shown by CI and C2 in FIG. 5(C). The processing in steps S21 and 822 corresponds to the processing operation in FIG. 3 described in conjunction with FIG. 2 (one). In this way, the process of displaying the branch connection line is completed.

本実施例によれば、従来1ノ式では第6図(A)に示す
如くに表示される接続線を、第6図(B)示す如くにわ
かり易く表示でき、また従来方式で第7図(A)に示す
如くに表示される接続線を第7図(B)に示す如くに表
示でき、シンボル13゜18.19がある揚台も接続線
が交差することなく、各シンボルを配置することができ
る。
According to this embodiment, the connection lines that are displayed as shown in FIG. 6(A) in the conventional method No. 1 can be displayed in an easy-to-understand manner as shown in FIG. 6(B), and the connection lines shown in FIG. The connecting lines displayed as shown in A) can be displayed as shown in Figure 7 (B), and each symbol can be arranged so that the connecting lines do not intersect on the platform where symbols 13°, 18, and 19 are located. Can be done.

なお、前記第1乃至第3の処理動作の順を入れ替えるこ
とら可能である。
Note that it is possible to change the order of the first to third processing operations.

〔発明の効果〕〔Effect of the invention〕

上述の如く、本発明によれば、分岐後シンボルである第
2のシンボルのすべての位置関係を考慮した接続線の表
示処理を行なうことができるため、分岐接続線の配置が
簡単になり見易くでき、また接続線の交差なしに配置で
きるシンボル数を従来方式くらべて多くでき、従ってこ
のことから図形要素連結図全体を]ンパク1〜にまとめ
ることができる等の特長を有するものである。
As described above, according to the present invention, it is possible to display a connecting line in consideration of all the positional relationships of the second symbol, which is a post-branch symbol. In addition, the number of symbols that can be arranged without crossing connecting lines can be increased compared to the conventional method, and therefore, the entire graphical element connection diagram can be summarized into 1 ~.

【図面の簡単な説明】 第1図は本発明の原理構成図、 第2図は本発明による接続線表示過程説明図、第3図は
本発明の一実施例の動作説明用フローチャート、 第4図は接続線表示前のシンボル配置の一例を示す図、 第5図は本発明による接続線表示過程の一実施例を示す
図、 第6図及び第7図は夫々従来方式と本発明り式による図
形要素連結図の各個を対比して示ず図、第8図は従来方
式の一例の構成図、 第9図は従来方式の動作説明用フl]−ヂャー1へであ
る。 図中において、 1は図形データ、 2は次シンボル取出部、 3は前シンボル蓄積部、 4はシンボル表示部、 6は出力装置、 20は次シンボル蓄積部、 21は接続部表示部、 23.40は第1のシンボル(分岐前シンボル)24〜
30.41〜46は第2のシンボル(分岐後シンボル)
、 31は基準線である。
[Brief Description of the Drawings] Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is an explanatory diagram of the connection line display process according to the present invention, Fig. 3 is a flowchart for explaining the operation of an embodiment of the present invention, Fig. 4 The figure shows an example of the symbol arrangement before connecting lines are displayed. Figure 5 shows an example of the connecting line display process according to the present invention. Figures 6 and 7 show the conventional method and the present invention method, respectively. FIG. 8 is a configuration diagram of an example of the conventional method, and FIG. 9 is a diagram for explaining the operation of the conventional method. In the figure, 1 is graphic data, 2 is a next symbol extraction section, 3 is a previous symbol storage section, 4 is a symbol display section, 6 is an output device, 20 is a next symbol storage section, 21 is a connection section display section, 23. 40 is the first symbol (pre-branch symbol) 24~
30. 41 to 46 are second symbols (post-branch symbols)
, 31 is a reference line.

Claims (1)

【特許請求の範囲】 図形要素であるシンボルの種別と位置情報及び接続情報
とを有する図形データ(1)を次シンボル取出部(2)
により順次に取り出し、シンボル表示部(4)を通して
出力装置(6)に供給することにより、出力装置(6)
により表示される各シンボルの間の接続線を該図形デー
タ(1)に基づいて算出表示する図形要素連結図の接続
線表示処理方式において、 第1のシンボルから接続線を分岐して2以上の第2のシ
ンボルの夫々に接続する場合に、すべての該第2のシン
ボルの位置情報を蓄える次シンボル蓄積部(20)と、 該第1のシンボルの位置情報を蓄える前シンボル蓄積部
(3)と、 該次シンボル蓄積部(20)よりの該第2のシンボルの
すべての位置情報から縦座標及び横座標別に大小順に分
類したテーブルを設定し、該テーブル及び該第1のシン
ボルの位置情報に基づいてすべての該第2のシンボルの
位置関係を考慮した接続線を表示する接続線表示データ
を生成して前記出力装置(6)に表示させる接続線表示
部(21)とを具備したことを特徴とする図形要素連結
図の接続線表示処理方式。
[Claims] Graphical data (1) having the type of symbol, which is a graphical element, position information, and connection information is transferred to the next symbol extracting unit (2).
The output device (6) is sequentially taken out by
In a connection line display processing method for a graphical element connection diagram that calculates and displays the connection line between each symbol displayed based on the graphic data (1), the connection line is branched from the first symbol and two or more When connecting to each of the second symbols, a next symbol storage section (20) that stores position information of all the second symbols, and a previous symbol storage section (3) that stores position information of the first symbol. Then, a table is set in which all the position information of the second symbol from the next symbol storage unit (20) is classified in order of size according to the ordinate and abscissa, and the table and the position information of the first symbol are and a connection line display unit (21) that generates connection line display data that displays connection lines in consideration of the positional relationships of all the second symbols based on the output device (6) and displays the connection line display data on the output device (6). Features a connection line display processing method for graphical element connection diagrams.
JP62120609A 1987-05-18 1987-05-18 Connection line display processing method for graphical element connection diagrams Pending JPS63284679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62120609A JPS63284679A (en) 1987-05-18 1987-05-18 Connection line display processing method for graphical element connection diagrams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62120609A JPS63284679A (en) 1987-05-18 1987-05-18 Connection line display processing method for graphical element connection diagrams

Publications (1)

Publication Number Publication Date
JPS63284679A true JPS63284679A (en) 1988-11-21

Family

ID=14790481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62120609A Pending JPS63284679A (en) 1987-05-18 1987-05-18 Connection line display processing method for graphical element connection diagrams

Country Status (1)

Country Link
JP (1) JPS63284679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07105257A (en) * 1993-09-30 1995-04-21 Hitachi Software Eng Co Ltd Method and system for plotting network chart

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07105257A (en) * 1993-09-30 1995-04-21 Hitachi Software Eng Co Ltd Method and system for plotting network chart

Similar Documents

Publication Publication Date Title
JPH01131963A (en) Automatic connection configuration creation system
JPS63284679A (en) Connection line display processing method for graphical element connection diagrams
JP2999321B2 (en) Ticker board and control method thereof
JPH0830666A (en) Method and device for arranging character string
JPH0418049Y2 (en)
JP3324580B2 (en) Image processing device
JP2615091B2 (en) Circuit block pattern input device
JPH044471A (en) Parts position deciding device
JP2785751B2 (en) Part number alignment method
JPH0248942B2 (en)
JP3248800B2 (en) Circuit diagram creation device and circuit diagram creation method
JPH0418048Y2 (en)
JPS62141588A (en) Multiwindow display system
JP3095308B2 (en) Electrical component approximate position determination device
JPH0716191Y2 (en) Schedule management machine
JPH0764524A (en) Image display device
JPH0467230B2 (en)
JPS61148489A (en) Image display processor
JPH03294967A (en) Circuit diagram input device
JPH07271840A (en) Block diagram preparing device
JPS63195696A (en) Fast lithography
JPH06139294A (en) Required material amount calculating method in drawing prepared by cad
JPS61219090A (en) Image display unit
JPH04127374A (en) Interactive parametric shape processing method
JPS63206878A (en) image processing device