JPS63286971A - Arrangement system for graphic element connecting diagram - Google Patents

Arrangement system for graphic element connecting diagram

Info

Publication number
JPS63286971A
JPS63286971A JP62122830A JP12283087A JPS63286971A JP S63286971 A JPS63286971 A JP S63286971A JP 62122830 A JP62122830 A JP 62122830A JP 12283087 A JP12283087 A JP 12283087A JP S63286971 A JPS63286971 A JP S63286971A
Authority
JP
Japan
Prior art keywords
symbols
symbol
arrangement
column
row
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
JP62122830A
Other languages
Japanese (ja)
Inventor
Yasuo Iwami
岩見 泰夫
Bukan Kin
金 武完
Masaaki Wakamoto
雅晶 若本
Mitsunori 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 JP62122830A priority Critical patent/JPS63286971A/en
Publication of JPS63286971A publication Critical patent/JPS63286971A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To arrange symbols so as to be easily seen without damaging the image of an original diagram by providing a reference symbol selection part, a column decision part, a row decision part, a reference symbol arrangement part and other symbol arrangement part. CONSTITUTION:The reference symbol selection part 2 selects the symbols of specified kinds which are the reference of arrangement from symbol data 1 as reference symbols, and outputs them to the column decision part 3 and the row decision part 4. The decision parts 3 and 4 decide the column and the row to be arranged with respect to respective reference symbols among respective columns and respective rows being divided widths, which have been respectively divided in a prescribed width in the vertical direction and in the horizontal direction of a graphic element connecting diagram. The reference symbol arrangement part 5 decides the arrangement positions of the reference symbols, and the other symbol arrangement part 6 decides the arrangement positions of the other symbols between the reference symbols based on data on the other symbols excepting the reference symbols among data 1. Thus, the whole diagram can be systematically arranged in order and the symbols are arranged to be seen easily.

Description

【発明の詳細な説明】 〔概要〕 本発明は図形要素(シンボル)とそれらの間を結ぶ接続
線とからなる図形要素連結図を配置する方式において、 人手でシンボルが配置された入力図形要素連結図中の特
定のシンボルに着目して整列するように、入力図形要素
連結図を再配置することにより、もとの図面のイメージ
を壊すことなく、図面全体が見易くなるようにしたもの
である。
[Detailed Description of the Invention] [Summary] The present invention is a method for arranging a graphic element connection diagram consisting of graphic elements (symbols) and connection lines connecting them, and an input graphic element connection in which symbols are manually arranged. By rearranging input graphical element connection diagrams so as to focus on and align specific symbols in the diagram, the entire diagram is made easier to see without destroying the original image of the diagram.

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

本発明は図形要素連結図配置方式に係り、特に予め定め
られたシンボルとそれらを結線する接続線とを表示面上
に配置していくことにより、状態遷移図、流れ図、ブロ
ック図等を入力9編集する図形編集システムにおいて、
シンボルを整列配置させる配置方式に関する。
The present invention relates to a graphical element connection diagram arrangement method, and in particular, by arranging predetermined symbols and connection lines connecting them on a display screen, state transition diagrams, flowcharts, block diagrams, etc. are inputted. In the figure editing system to be edited,
This relates to an arrangement method for arranging symbols.

上記の図形編集システムを用いて図形要素連結図を作成
した場合、人手で図面の入力や編集を行なうと、各シン
ボルの位置が揃わず、見難い図面になってしまうことが
あり、自動的にシンボルを見易く並べ換える機能が必要
とされる。
If you create a connected figure element diagram using the figure editing system mentioned above, if you enter or edit the drawing manually, the positions of each symbol may not be aligned, resulting in a drawing that is difficult to read. A function to rearrange symbols for easy viewing is required.

〔従来の技術〕[Conventional technology]

従来、図形要素連結図のシンボルを自動的に配置する方
式として、例えば本出願人が先に特願昭61−1617
17号にて開示した自動配置方式などが知られている。
Conventionally, as a method for automatically arranging symbols of graphical element connection diagrams, for example, the applicant of the present invention first proposed Japanese Patent Application No.
The automatic arrangement method disclosed in No. 17 is known.

この本出願人の提案になる状態遷移図自動配置方式はシ
ンボルの接続関係を表わすデータから図面データを作成
する図形編集システムにおいて、状態シンボルレベル設
定部と、状態シンボル副レベル設定部と、状態シンボル
配置部と、状態シンボル以外の各シンボルを配置する他
シンボル配置部とからなり、状態を表わすシンボルが配
置されるべき位1Ff13tl係を定める法則を予め定
めておき、初期状態からの状態シンボルの接続順序に応
じて各状態シンボルにレベルを定め、更に同一レベルの
状態シンボル相互間で下位の状態シンボルの接続される
べき状況に応じて副レベルを定めて、上記のレベルと副
レベルとに応じて上記の法則に従って状態シンボルの位
置を決定して配置し、すべての状態シンボルを配置し終
ったとき、状態シンボル間のシンボルを配置することに
よって、状態遷移図の図形データを作成するようにした
ものである。
This state transition diagram automatic arrangement method proposed by the present applicant is a graphic editing system that creates drawing data from data representing connection relationships between symbols. It consists of an arrangement section and an other symbol arrangement section that arranges each symbol other than the state symbol, and a law that determines the position at which a symbol representing a state should be arranged is determined in advance, and the state symbols are connected from the initial state. A level is determined for each state symbol according to the order, and a sublevel is determined according to the situation in which lower state symbols are to be connected between state symbols of the same level, and according to the above level and sublevel. The position of the state symbols is determined and placed according to the above rules, and when all the state symbols have been placed, the graphic data of the state transition diagram is created by placing the symbols between the state symbols. It is.

この本出願人の提案方式によれば、位置情報を有せずシ
ンボルの接続情報だけからなる状態遷移図データから、
各シンボルの配置を自動的に決定し、図面を作成するこ
とができる。
According to the method proposed by the present applicant, from state transition diagram data consisting only of symbol connection information without position information,
It is possible to automatically determine the placement of each symbol and create a drawing.

(発明が解決しようとする問題点) 上記の本出願人の提案方式によれば、シンボルを自動配
置する際に、シンボルが本来持っていた位置情報は考慮
せず、シンボル間の接続関係等からだけでシンボルの配
置位置を決定したため、もとの図面のイメージが全く変
ってしまい、かえってわかり難くなることがあるという
問題点を有していた。
(Problems to be Solved by the Invention) According to the above-mentioned method proposed by the applicant, when automatically arranging symbols, the positional information originally possessed by the symbols is not taken into consideration, and the connection relationships between symbols, etc. Since the placement position of the symbol was determined solely by the method, the image of the original drawing was completely changed, and the problem was that it could become difficult to understand.

本発明は上記の点に鑑みて創作されたもので、もとの図
面のイメージを損うことなく、見易いシンボルの配置を
行なうことができる図形要素連結量配置方式を提供する
ことを目的とする。
The present invention was created in view of the above points, and an object thereof is to provide a graphic element connection amount arrangement method that allows easy-to-read symbols to be arranged without damaging the image of the original drawing. .

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

第1図は本発明の原理構成図を示す。本発明は図形要素
であるシンボルの位置情報を有するシンボルデータ1か
ら図形要素連結図の各シンボルの配置位置を決定する図
面データ(7)を生成する図形要素連結量配置方式にお
いて、基準シンボル選択部2、列決定部3、行決定部4
、基準シンボル配a部5及び他シンボル配置部6を具備
したものである。
FIG. 1 shows a basic configuration diagram of the present invention. The present invention provides a reference symbol selection unit in a graphic element connection amount arrangement method that generates drawing data (7) for determining the arrangement position of each symbol in a graphic element connection diagram from symbol data 1 having position information of symbols that are graphic elements. 2. Column determining unit 3, row determining unit 4
, a reference symbol arrangement section a 5 and an other symbol arrangement section 6.

基準シンボル選択部2はシンボルデータ1から配置の基
準となる特定種類のシンボルを基準シンボルとして選択
する。列決定部3及び行決定部4は図形要素連結図の縦
方向及び横方向に別々に一定幅毎に分割した分割幅であ
る各列及び各行のうら、基準シンボルの各々について配
置されるべき列及び行を夫々決定する。
The reference symbol selection unit 2 selects a specific type of symbol, which serves as a reference for arrangement, from the symbol data 1 as a reference symbol. The column determining unit 3 and the row determining unit 4 determine the columns to be arranged for each reference symbol at the back of each column and each row, which are divided into fixed widths in the vertical and horizontal directions of the graphic element connection diagram. and rows respectively.

基準シンボル配置部5は基準シンボルの配冒位dを定め
、他シンボル配置部6はシンボルデータ1のうち基準シ
ンボル以外の他のシンボルのデータに基づいて、伯のシ
ンボルの配置位置を19シンボル間に定める。
The reference symbol arrangement unit 5 determines the arrangement position d of the reference symbol, and the other symbol arrangement unit 6 arranges the arrangement position of the square symbol between 19 symbols based on the data of symbols other than the reference symbol in the symbol data 1. stipulated in

〔作用〕[Effect]

基準シンボル選択部2によりシンボルデータ1中から抽
出された基準シンボルは、列決定部3により配置される
べき列を決定され、かつ、行決定部4により配置される
べき行を決定される。このように配置されるべき列と配
置されるべき行とが決定されると、これらに基づいて基
準シンボル配置部5により図形要素連結図中の各基準シ
ンボルの配置位置が定められる。
The reference symbol extracted from the symbol data 1 by the reference symbol selection unit 2 has a column determining unit 3 determining the column in which it should be arranged, and a row determining unit 4 determining the row in which it should be arranged. Once the columns to be arranged and the rows to be arranged are determined in this way, the reference symbol arrangement section 5 determines the arrangement position of each reference symbol in the graphic element connection diagram based on these.

また、他のシンボルは他シンボル配置部6により、その
位置情報に一致する、または極めて近似した位置であっ
て、基準シンボル間の位置に配置されるよう定められる
Further, other symbols are determined by the other symbol arrangement unit 6 to be located at positions that match or are extremely similar to the position information of the other symbols, and to be located at positions between the reference symbols.

このようにして、本発明によれば、行及び列で定められ
る格子状の配置領域のうち、基準シンボルが予め持って
いる位置情報を基に配置すべき領域を定めた後、他のシ
ンボルもそれらが予め持っている位置情報を基に、基準
シンボル間の上記格子状の配置領域のいずれかに配置す
るので、各シンボルが縦方向及び横方向に整列配置され
る。
In this manner, according to the present invention, after determining the area in which the reference symbol should be placed based on the position information that the reference symbol has in advance, out of the grid-like placement area defined by the rows and columns, other symbols can also be placed. Since the symbols are arranged in any of the grid-like arrangement areas between the reference symbols based on the position information they have in advance, the symbols are aligned in the vertical and horizontal directions.

〔実施例〕〔Example〕

本発明の一実施例の動作について第2図乃至第6図と共
に説明する。いま、人手で入力された図形要素連結図が
第2図に示す如き図面であったものとし、これを本発明
により再配置する場合を例にとって説明する。第2図に
おいて、S−「は状態(state )を表わすシンボ
ル、EVはイベント(event )を表わすシンボル
、DEは決定(decision)を表わすシンボル、
OtJは出力(output)を表わすシンボル、TA
はタスク(task)を表わすシンボル、EXは出口(
exit)を表わすシンボル、CNはコネクタ(con
nector )を表わすシンボルである。
The operation of one embodiment of the present invention will be explained with reference to FIGS. 2 to 6. Now, let us assume that the graphic element connection diagram input manually is as shown in FIG. 2, and we will explain the case where this is rearranged according to the present invention. In FIG. 2, S- is a symbol representing a state, EV is a symbol representing an event, DE is a symbol representing a decision,
OtJ is a symbol representing output, TA
is a symbol that represents a task, and EX is a symbol that represents an exit (
CN is a symbol that represents a connector (con
This is a symbol representing ``nector''.

第2図に示すように、このちとの図形要素連結図は、主
要シンボルである状態シンボルSTの位置が相互に整列
した状態となっていない。
As shown in FIG. 2, in the subsequent graphic element connection diagram, the positions of the state symbols ST, which are main symbols, are not aligned with each other.

第3図は第2図の図形要素連結図を構成する各シンボル
のシンボルデータの要部を示す。第3図に示すように、
シンボルデータはシンボル種別とそのシンボルの位置座
標(x、y)とからなり、位置座標(x、y)によって
そのシンボルが配置されるべき位置を表わしている。
FIG. 3 shows the main part of the symbol data of each symbol constituting the graphic element connection diagram of FIG. 2. As shown in Figure 3,
The symbol data consists of the symbol type and the position coordinates (x, y) of the symbol, and the position coordinates (x, y) represent the position where the symbol is to be placed.

このシンボルデータに基づいて、前記基準シンボル選択
部2により、例えば状態シンボルSTが基準シンボルと
して取り出される。基準シンボル選択部2は第2図中の
状態シンボルST+〜ST6のすべてを第4図(A>に
示す如く基準シンボルとしてシンボルデータ中から選択
抽出する。
Based on this symbol data, the reference symbol selection section 2 extracts, for example, a state symbol ST as a reference symbol. The reference symbol selection unit 2 selects and extracts all of the state symbols ST+ to ST6 in FIG. 2 from the symbol data as reference symbols as shown in FIG. 4 (A>).

次に、列決定部3は上記の状態シンボルST+〜ST6
をX座標について昇順に並べ、図形要素連結図の縦方向
を長手方向とする成る一定幅毎の分υ1領域を想定し、
同じ分割領域内にある状態シンボル同士をまとめて、第
4図(B)に示す如く配置されるべき列を決定する。
Next, the column determining unit 3 uses the above state symbols ST+ to ST6.
are arranged in ascending order with respect to the
The state symbols in the same divided area are grouped together to determine the column to be arranged as shown in FIG. 4(B).

一方、行決定部4は上記の状態シンボルST+〜STe
をX座標について昇順に並べ、図形要素連結図の横方向
を長手方向とする成る一定幅毎の分割領域を想定し、同
じ分割領域内にある状態シンボル同士をまとめて、第4
図(C)に示す如く配置されるべき行を決定する。
On the other hand, the row determining unit 4 uses the above state symbols ST+ to STe.
are arranged in ascending order with respect to the
The rows to be arranged as shown in Figure (C) are determined.

次に、基準シンボル配置部5は、列決定部3により得ら
れた列データと行決定部4により得られた行データとに
基づいて、各列、各行で共通の要素を求め、各基準シン
ボルの列2行を第5図に示す如く決定する。第5図から
れかるように、状態シンボル(ここでは基準シンボル)
STY。
Next, the reference symbol placement unit 5 determines common elements in each column and each row based on the column data obtained by the column determination unit 3 and the row data obtained by the row determination unit 4, and calculates common elements for each reference symbol. Columns and two rows of are determined as shown in FIG. As shown in Figure 5, the status symbol (here, the reference symbol)
STY.

S T 2及びSTaは夫々同一列にあるから、図面上
、縦方向に一直線上に配置され、同様にST4及びST
sも別の同一列にあるから、縦方向に一直線上に配置さ
れる。また、状態シンボルST+及びST4は同一行に
あるから、図面上、横一線上に配置され、同様に別の同
一行にある状態シンボルST2.ST5及びSTaも別
の横一線上に配置される。
Since ST2 and STa are in the same row, they are arranged in a straight line in the vertical direction in the drawing, and similarly ST4 and ST
Since s is also in another same column, they are arranged in a straight line in the vertical direction. Also, since the state symbols ST+ and ST4 are on the same row, they are arranged on a horizontal line in the drawing, and the state symbols ST2 . ST5 and STa are also arranged on another horizontal line.

次に、前記伯シンボル配置部6により状態シンボルST
+〜ST6以外の他のシンボルEV+〜EVa 、DE
+〜DE3 、CN+〜CNs 。
Next, the state symbol ST
+~Other symbols other than ST6 EV+~EVa, DE
+~DE3, CN+~CNs.

TA+ 、Out 、EX+ は、ソレラノ位置座標(
X、V)に基づいて上記の状態シンボルST+〜STs
の間に配置される。
TA+, Out, EX+ are solerano position coordinates (
X, V) based on the above state symbols ST+~STs
placed between.

これにより、本実施例によれば、第2図に示した入力図
形要素連結図は第6図に示す如くに各シンボルが再配置
される。第6図かられかるように、基準シンボルである
状態シンボルが整列して配置され、それらの間の他のシ
ンボルも整列して配置されるので、図面全体が整然とま
とまり、見易くなる。
As a result, according to this embodiment, the symbols in the input graphic element connection diagram shown in FIG. 2 are rearranged as shown in FIG. 6. As can be seen from FIG. 6, the status symbols, which are reference symbols, are arranged in alignment, and the other symbols between them are also arranged in alignment, so that the entire drawing is neatly organized and easy to see.

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

上述の如く、本発明によれば、予め各シンボルが持って
いる位置情報に基づいて各シンボルを若干移動させるだ
けで整列するように配置したため、入力されたもとの図
形要素連結図のイメージを壊ずことなく、図面全体を整
然とまとまった配置とすることができ、従って、図面全
体を見易く、きれいに各シンボルが配置されたものとす
ることができる等の特長を有するものである。
As described above, according to the present invention, each symbol is arranged so as to be aligned by simply slightly moving it based on the positional information that each symbol has in advance, so that the image of the original input graphical element connection diagram is not destroyed. This feature has the advantage that the entire drawing can be arranged in an orderly manner without any confusion, and therefore the entire drawing can be easily viewed and each symbol can be neatly arranged.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理構成図、 第2図は本発明により配置が行なわれる前のもとの図形
要素連結図の一例を示す図、 第3図はシンボルデータの一例を示す図、第4図は本発
明の各部の動作説明図、 第5図は基準シンボルの列9行の決定の一例の説明図、 第6図は本発明により配置が行なわれた図形要素連結図
の一実施例を示す図である。図中において、 1はシンボルデータ、 2は基準シンボル選択部、 3は列決定部、 4は行決定部、 5は基準シンボル配置部、 6は他シンボル配置部、 7は図面データである。 1′−り・ 代理人 弁理士 井 桁 肉 −′ハ ゛  1−ノ 1、−ン′ 本発明つ陳理情べ司 ^星図 第2図 シ>m7I/f、>の−79+ltホta第3図 (A) 第4図
FIG. 1 is a diagram showing the principle configuration of the present invention. FIG. 2 is a diagram showing an example of the original graphic element connection diagram before arrangement is performed according to the present invention. FIG. 3 is a diagram showing an example of symbol data. FIG. 4 is an explanatory diagram of the operation of each part of the present invention. FIG. 5 is an explanatory diagram of an example of determining the nine columns and rows of reference symbols. FIG. 6 is an example of a graphic element connection diagram arranged according to the present invention. FIG. In the figure, 1 is symbol data, 2 is a reference symbol selection section, 3 is a column determination section, 4 is a row determination section, 5 is a reference symbol arrangement section, 6 is an other symbol arrangement section, and 7 is drawing data. 1'-ri・Representative Patent attorney I-digit meat -'Ha゛1-no1,-n' The present invention's representations and explanations ^ star map Figure 2 〉m7I/f,〉's -79+lthota Figure 3 ( A) Figure 4

Claims (1)

【特許請求の範囲】 図形要素であるシンボルの位置座標を有するシンボルデ
ータ(1)から図形要素連結図の各シンボルの配置位置
を決定する図面データ(7)を生成する図形要素連結図
配置方式において、 前記シンボルデータ(1)から配置の基準となる特定種
類のシンボルを基準シンボルとして選択する基準シンボ
ル選択部(2)と、 選択された複数の該基準シンボルの各々について、図形
要素連結図の縦方向に一定幅毎に分割したときの分割幅
である各列のうち配置されるべき列を決定する列決定部
(3)と、 選択された複数の該基準シンボルの各々について、図形
要素連結図の横方向に一定幅毎に分割したときの分割幅
である各行のうち配置されるべき行を決定する行決定部
(4)と、 該列決定部(3)及び該行決定部(4)の各出力データ
から、該選択された複数の基準シンボルの配置位置を定
める基準シンボル配置部(5)と、前記シンボルデータ
(1)のうち該基準シンボル以外の他のシンボルのデー
タに基づいて該他のシンボルの配置位置を該選択された
複数の基準シンボル間に定める他シンボル配置部(6)
とを具備したことを特徴とする図形要素連結図配置方式
[Claims] In a graphical element connected diagram arrangement method that generates drawing data (7) for determining the arrangement position of each symbol in a graphical element connected diagram from symbol data (1) having position coordinates of symbols that are graphical elements. , a reference symbol selection unit (2) that selects a specific type of symbol serving as a reference symbol for placement from the symbol data (1); A column determining unit (3) that determines a column to be arranged among each column that is a division width when dividing into a certain width in a direction, and a graphic element connection diagram for each of the plurality of selected reference symbols. a row determining unit (4) that determines which row should be placed among each row that is the dividing width when divided into horizontally fixed widths; the column determining unit (3); and the row determining unit (4). A reference symbol arrangement unit (5) determines the arrangement position of the plurality of selected reference symbols from each output data of Other symbol placement unit (6) that determines placement positions of other symbols between the selected plurality of reference symbols
A graphical element connection diagram arrangement method characterized by comprising the following.
JP62122830A 1987-05-20 1987-05-20 Arrangement system for graphic element connecting diagram Pending JPS63286971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62122830A JPS63286971A (en) 1987-05-20 1987-05-20 Arrangement system for graphic element connecting diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62122830A JPS63286971A (en) 1987-05-20 1987-05-20 Arrangement system for graphic element connecting diagram

Publications (1)

Publication Number Publication Date
JPS63286971A true JPS63286971A (en) 1988-11-24

Family

ID=14845696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62122830A Pending JPS63286971A (en) 1987-05-20 1987-05-20 Arrangement system for graphic element connecting diagram

Country Status (1)

Country Link
JP (1) JPS63286971A (en)

Similar Documents

Publication Publication Date Title
US5289568A (en) Apparatus and method for drawing figures
US5613093A (en) Apparatus and method for drill design
CA1320277C (en) Display apparatus and method with multi-window function
JPS63286971A (en) Arrangement system for graphic element connecting diagram
EP0194092A3 (en) Display system and method
US5977965A (en) Automatic frame accumulator
JPS6022236A (en) Message output system
JP3024159B2 (en) Grid display method
JPS60251429A (en) List group editing processing system
JPS61264480A (en) Graphic processing system
JP3248800B2 (en) Circuit diagram creation device and circuit diagram creation method
JPS62140172A (en) Image synthesizing method
JP2856187B2 (en) Arrangement of control display
JPS63201820A (en) Picture layout setting system for interactive computer system
JPS61295595A (en) Line information memory system for input editor
JPH0375795A (en) Character pattern contraction system
JPS60176178A (en) Displaying/processing system of graphic
JP3043579B2 (en) Graphic processing system
JPS61148487A (en) Expander/reducer
JP2784591B2 (en) Drawing method
JPH06325046A (en) Scheduling system
JPH0619995A (en) Circuit diagram editing system
JPS6163892A (en) Image information editing system
JPH03211675A (en) Cad drawing display system
JPS6180292A (en) Display cotnrol system