JPH01320577A - Graphic processor - Google Patents
Graphic processorInfo
- Publication number
- JPH01320577A JPH01320577A JP63154255A JP15425588A JPH01320577A JP H01320577 A JPH01320577 A JP H01320577A JP 63154255 A JP63154255 A JP 63154255A JP 15425588 A JP15425588 A JP 15425588A JP H01320577 A JPH01320577 A JP H01320577A
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- arrangement
- information
- input
- layout
- 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
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は2図形の入力、記憶7編集及び出力等を行う
図形処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic processing device that inputs two graphics, stores and edits them, outputs them, and the like.
[従来の技術]
第6図は5例えば、三菱電機(株)のMULTICAD
−MWS解説書に示されているような従来の図形処理装
置を示すブロック構成図であり、図形入力部1.入力図
形情報記憶部2及び図形出力部3を有する。図形入力部
1は、スタイラスペンとタブレットを使ってグラフィッ
クデイスプレィを見ながら対話処理で図形を描き、又は
ディジタイザを用いて図面に描かれている図形をカーソ
ルでプロットし、あるいは図形が描かれている図面をイ
メージリーダでピクセル毎のデータとして入力し、座標
データ等からなる図形データに自動的に変換する等して
図形情報を入力する。又、入力された図形が誤ったデー
タで入力されている場合、図形の削除、追加、変更や拡
大、縮小2回転等の機能により、図形入力部1において
その図形データの修正をグラフィックデイスプレィを児
ながら対話処理で行う。このようにして入力さ肛た図形
情報は磁気ディスク装置等の入力図形情報記憶部2に記
憶される。記憶された図形情報は必要に応じて読み出さ
れ、グラフィックデイスプレィやプロッタ、プリンタ等
の図形出力部3で出力される。[Prior art] Figure 6 shows 5, for example, MULTICAD of Mitsubishi Electric Corporation.
- It is a block configuration diagram showing a conventional graphic processing device as shown in the MWS manual, and is a graphic input unit 1. It has an input graphic information storage section 2 and a graphic output section 3. The figure input unit 1 draws figures through interactive processing while looking at a graphic display using a stylus pen and tablet, plots figures drawn on a drawing with a cursor using a digitizer, or plots figures drawn on a drawing with a cursor, or Graphical information is input by inputting a drawing in the form of pixel-by-pixel data using an image reader, and automatically converting it into graphical data consisting of coordinate data, etc. In addition, if the input figure is input with incorrect data, the figure input section 1 can correct the figure data by using functions such as deleting, adding, changing, enlarging, and reducing twice the figure on the graphic display. This is done through dialogue processing even when children are young. The graphic information inputted in this way is stored in the input graphic information storage section 2 such as a magnetic disk device. The stored graphic information is read out as necessary and outputted by a graphic output section 3 such as a graphic display, plotter, or printer.
[発明が解決しようとする課題]
従来の図形処理装置は以にのように構成されているため
、ある特定サイズの領域内で入力された図形情報を別サ
イズの領域内に移すとき図形の配置を変更しなければな
らない場合が生じるが、このような場合、従来装置では
、先ず新たな配置を検討して決め、次に図形入力部】に
おける図形の削除、追加、変更や拡大、縮小2回転等の
修正機能を使って配置変更を行わなければならず、この
配置変更作業は多くの時間を要するという問題点があっ
た。[Problem to be Solved by the Invention] Since the conventional graphic processing device is configured as shown below, it is difficult to arrange the graphic information when moving graphic information input in an area of a certain size to an area of a different size. In such cases, conventional devices first consider and decide on a new arrangement, and then delete, add, change, enlarge, or reduce the figure in the figure input section. It is necessary to change the layout using a correction function such as , etc., and this layout change work takes a lot of time.
この発明は上記のような問題点を解消するためになされ
たもので、配置変更の作業量を少なくし、短時間で容易
に配置変更を行うことができる図形処理装置を得ること
を1」的とする7[課題を解決するための手段]
この発明に係る図形処理装置は、入力図形の配置変更に
関する制約を配置変更ルールとして入力する配置変更ル
ール入力部と、入力された配置変更ルールを記憶する配
置変更ルール記憶部と、領域サイズ等、どのように配置
変更を行うかを指示入力する配置変更指示部と、入力図
形情報記憶部に記憶された入力図形情報からその構造情
報を抽出する構造情報抽出部と、抽出された構造情報を
記憶する構造情報記憶部と、配置変更指示に従い構造情
報と配置変更ルールに基づいて1入力図形情報に対して
自動的に図形の配置変更を行う自動配置部と、自動配置
された図形情報を記憶する図形情報記憶部とを備えたも
のである。This invention was made in order to solve the above-mentioned problems, and has the following objects: 1. 7 [Means for Solving the Problems] A graphic processing device according to the present invention includes a layout change rule input section for inputting constraints regarding a layout change of an input figure as a layout change rule, and a storage for storing the input layout change rule. a layout change instruction unit that inputs instructions on how to change the layout, such as area size, and a structure that extracts structural information from input graphic information stored in the input graphic information storage unit. an information extraction unit, a structure information storage unit that stores the extracted structural information, and an automatic placement unit that automatically changes the placement of figures for one input figure information based on the structure information and placement change rules according to placement change instructions. and a graphic information storage unit that stores automatically arranged graphic information.
[作用]
この発明においては、予め配置変更ルール入力部によっ
て配置変更に関する制約を配置変更ルールとして入力し
配置変更ルール記憶部に記憶させておく。図形が入力さ
れると、自動配置に必要な情報として構造情報抽出部7
により図形の構造情報を抽出し、配置変更指示部よりの
指示があると自動配置部はその配置変更指示に従い」1
記構造情報と配置変更ルールに基づき自動的に図形の配
置変更を行う。[Operation] In the present invention, constraints regarding the layout change are input in advance as a layout change rule using the layout change rule input section and stored in the layout change rule storage section. When a figure is input, the structural information extraction unit 7 uses it as information necessary for automatic placement.
The structural information of the figure is extracted by ``1'', and when there is an instruction from the placement change instruction section, the automatic placement section follows the placement change instruction.''1
The layout of figures is automatically changed based on the structural information and the layout change rules.
[実施例コ 以下、この発明の一実施例を図について説明する。[Example code] An embodiment of the present invention will be described below with reference to the drawings.
第1゜図は実施例の構成を示すブロック図であり、前記
従来例と同一、又は相当部分には同一符号を用いてその
説明は省略する。図において、4は配置変更に関する制
約を配置変更ルールとして入力する配置変更ルール入力
部、5は入力された配置変更ルールを記憶する配置変更
ルール記憶部、6は領域サイズ等、どのように配置変更
を行うかの情報を指示入力する配置変更指示部、7は入
力図形情報記憶部2に記憶された入力図形情報からその
構造情報を抽出する構造情報抽出部、8は抽出された構
造情報を記憶する構造情報記憶部、9は配置変更指示に
従い構造情報と配置変更ルールに基づいて、入力図形情
報に対して自動的に図形の配置変更を行う自動配置部、
10は自動配置された図形情報を記憶する図形情報記憶
部であり、記憶された図形情報は図形出力部3によって
読み出され出力されるようになっている。FIG. 1 is a block diagram showing the configuration of the embodiment, and the same reference numerals are used for the same or corresponding parts as in the conventional example, and the explanation thereof will be omitted. In the figure, 4 is a layout change rule input section for inputting constraints regarding layout changes as layout change rules, 5 is a layout change rule storage section that stores the input layout change rules, and 6 is a layout change rule such as area size, etc. 7 is a structure information extraction unit that extracts the structural information from the input graphic information stored in the input graphic information storage unit 2, and 8 is a memory for storing the extracted structural information. 9 is an automatic placement unit that automatically changes the placement of figures based on the input figure information based on the structure information and placement change rules in accordance with placement change instructions;
Reference numeral 10 denotes a graphic information storage unit that stores automatically arranged graphic information, and the stored graphic information is read out and output by the graphic output unit 3.
次に動作について、第2図に示す図形を入力した場合を
例として説明する。Next, the operation will be described using as an example the case where the figure shown in FIG. 2 is input.
先ず予め、配置変更ルール入力部4より次のような配置
変更ルールを入力する。First, the following layout change rule is input in advance from the layout change rule input section 4.
・図形は指定領域境界より3mm以」二離す。・The figure must be at least 3mm away from the boundary of the designated area.
・ブロックの形状は矩形で1重なってはならない。・The blocks must be rectangular in shape and must not overlap.
・接続関係を表わす矢印線は水平線、垂直線。・Arrow lines representing connection relationships are horizontal lines and vertical lines.
矢印からなる。Consists of arrows.
・接続関係を表わす矢印線は可能なかぎり交差しない。・Arrow lines representing connections should not intersect as much as possible.
入力された上記配置変更ルールは配置変更ルール記憶部
5に記憶される。The input arrangement change rule is stored in the arrangement change rule storage section 5.
第2図に示ず図形情報を図形入力部1より入力すると、
入力図形情報記憶部2に記憶される。記憶された図形情
報は構造情報抽出部7により読み出され図形の構造情報
が抽出される。第2図に示す図形情報の場合は、ブロッ
クの部分とブロック間の接続関係を表わす矢印線の部分
に分類され、各ブロックと各ブロック間の接続関係の情
報を抽出する。抽出された構造情報は構造情報記憶部8
に記憶される。When graphic information not shown in FIG. 2 is input from the graphic input section 1,
The input graphic information is stored in the input graphic information storage section 2. The stored graphic information is read out by the structural information extraction section 7, and the structural information of the graphic is extracted. In the case of the graphical information shown in FIG. 2, it is classified into block parts and arrow line parts representing connections between blocks, and information about each block and connections between blocks is extracted. The extracted structural information is stored in the structural information storage section 8.
is memorized.
図形の配置を変更する場合、当該装置のオペレータは配
置変更指示部6より入力図形の中の配置変更を行う対象
領域と配置変更を行ってその図形を移動する領域を指示
する。例えば、第3図は入力図形中の配置変更を行う対
象領域を、第4図は配置変更を行ってその図形を移動す
る領域をそれぞれ破線で示しているが、このような配置
変更対象領域と配置先領域を配置変更指示部6より指示
する。When changing the layout of a figure, the operator of the apparatus instructs, from the layout change instructing unit 6, the target area of the input figure to be rearranged and the area to which the figure is to be moved after changing the layout. For example, Fig. 3 shows the target area in the input figure for which the arrangement is to be changed, and Fig. 4 shows the area in which the arrangement is to be changed and the figure is moved by broken lines. The placement destination area is specified by the placement change instruction section 6.
この配置変更指示がなされると、その領域情報と構造情
報記憶部8に記憶されている図形の構造情報と配置変更
ルール記憶部5に記憶されている配置変更ルールに基づ
き、自動配置部9により入力図形情報記憶部2に記憶デ
b扛でいる入力図形情報に対して自動的に図形の配置変
更がなされ、配置変更された図形情報は図形情報記憶部
1,0に記憶され、又、図形出力部3によって出力され
る。When this arrangement change instruction is given, the automatic arrangement section 9 uses the area information, the structure information of the figure stored in the structure information storage section 8, and the arrangement change rule stored in the arrangement change rule storage section 5. The arrangement of the figures is automatically changed for the input figure information stored in the input figure information storage section 2, and the rearranged figure information is stored in the figure information storage sections 1 and 0. It is output by the output section 3.
第5図に配置変更された図形情報の例を示す。これは、
自動配置部9で前記配置変更ルールに基づき、ブロック
の形状は変更せず矩形のままで接続関係を表わす矢印線
を変更し、ブロックが重ならないように配置変更の試行
を繰り返して各ルールを満足する配置を決定し、出力し
た例である。FIG. 5 shows an example of graphic information whose layout has been changed. this is,
Based on the arrangement change rules, the automatic arrangement section 9 changes the arrow lines representing connection relationships without changing the shape of the blocks, leaving them rectangular, and repeats attempts to change the arrangement so that the blocks do not overlap, thereby satisfying each rule. This is an example of determining the layout and outputting it.
[発明の効果]
以上のように、この発明によれば、予め入力された配置
変更ルールと入力図形の構造情報とに基づき、所望の配
置変更指示に対して自動的に図形の配置変更を行うよう
にしたので、配置変更の作業量が少なくなり、短時間で
容易に配置変更が行える効果がある。[Effects of the Invention] As described above, according to the present invention, the arrangement of figures is automatically changed in response to a desired arrangement change instruction based on the arrangement change rule input in advance and the structure information of the input figure. As a result, the amount of work required for changing the layout is reduced, and the layout can be easily changed in a short period of time.
第1−図はこの発明の一実施例による図形処理装置を示
すブロック構成図、第2図ないし第ti図はは実施例の
動作を説明するための図、第6図は従来の図形処理装置
を示すブロック構成図である。
1、は図形入力部、2は入力図形情報記憶部、3は図形
出力部、4は配置変更ルール入力部、5は配置変更ルー
ル記憶部、6は配置変更指示部、7は構造情報抽出部、
8は構造情報記憶部、9は自動配置部、10は図形情報
記憶部。
なお、図中、同一符号は同一、又は相当部分を示す。
代理人 大 岩 増 雄(ほか2名)第1亘
第2図
第4図
男5図FIG. 1 is a block configuration diagram showing a graphic processing device according to an embodiment of the present invention, FIGS. 2 to 1 are diagrams for explaining the operation of the embodiment, and FIG. 6 is a conventional graphic processing device. FIG. 1 is a graphic input section, 2 is an input graphic information storage section, 3 is a graphic output section, 4 is a layout change rule input section, 5 is a layout change rule storage section, 6 is a layout change instruction section, and 7 is a structure information extraction section. ,
8 is a structure information storage section, 9 is an automatic placement section, and 10 is a graphic information storage section. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Agent Masuo Oiwa (and 2 others) No. 1, No. 2, No. 4, No. 5
Claims (1)
図形情報の各種処理を行う図形処理装置において、入力
図形の配置変更に関する制約を配置変更ルールとして入
力する配置変更ルール入力部と、入力された配置変更ル
ールを記憶する配置変更ルール記憶部と、どのように配
置変更を行うかを指示入力する配置変更指示部と、入力
図形情報記憶部に記憶された入力図形情報からその構造
情報を抽出する構造情報抽出部と、抽出された構造情報
を記憶する構造情報記憶部と、配置変更指示に従い構造
情報と配置変更ルールに基づいて、入力図形情報に対し
て自動的に図形の配置変更を行う自動配置部と、自動配
置された図形情報を記憶する図形情報記憶部とを備えた
ことを特徴とする図形処理装置。It has a graphic input section, an input graphic information storage section, and a graphic output section,
A graphic processing device that performs various types of processing on graphic information includes a layout change rule input section for inputting constraints regarding layout changes of input shapes as layout change rules, and a layout change rule storage section for storing input layout change rules. a layout change instruction unit that inputs an instruction as to whether to change the layout as shown in FIG. a structural information storage unit, an automatic placement unit that automatically changes the placement of figures based on input figure information based on the structure information and placement change rules according to placement change instructions, and figures that store the automatically placed figure information. A graphic processing device comprising: an information storage section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63154255A JPH01320577A (en) | 1988-06-22 | 1988-06-22 | Graphic processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63154255A JPH01320577A (en) | 1988-06-22 | 1988-06-22 | Graphic processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01320577A true JPH01320577A (en) | 1989-12-26 |
Family
ID=15580211
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63154255A Pending JPH01320577A (en) | 1988-06-22 | 1988-06-22 | Graphic processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01320577A (en) |
-
1988
- 1988-06-22 JP JP63154255A patent/JPH01320577A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2972510B2 (en) | Document creation device | |
| JP2835791B2 (en) | Graphic processing unit | |
| JPH01320577A (en) | Graphic processor | |
| JPS6215670A (en) | In-shape character string editing method | |
| JP2716133B2 (en) | Block diagram data display processor | |
| JP2685762B2 (en) | Compound document creating apparatus and compound document creating method | |
| JPH0434193B2 (en) | ||
| JPH0548876A (en) | Picture processor with grid function | |
| JP2610832B2 (en) | Screen division pattern registration method | |
| JPS6349883A (en) | Graphic processor | |
| JPH06342277A (en) | Character display device | |
| JP3591892B2 (en) | Character string display method and character string display device | |
| JPH04248677A (en) | Method and device for drawing wall or beam in building drawing or the like | |
| JP2575658B2 (en) | String layout device | |
| JP2616426B2 (en) | String display device | |
| JPH06342364A (en) | Character string display device | |
| JPH01282679A (en) | Cad system | |
| JPH0778716B2 (en) | How to move the display screen | |
| JPS62229289A (en) | document processing device | |
| JPH08255183A (en) | Method for writing combined figure on CAD drawing | |
| JPS59211130A (en) | Graphic display device | |
| JPS63191275A (en) | Display system for omission of circuit | |
| Hemberger | Department of Mechanical Engineering Bucknell University, Lewisburg, PA | |
| JPH05151330A (en) | Image processing device | |
| JPS60181873A (en) | Picture processing system |