JPH02100766A - Graphic editing device - Google Patents

Graphic editing device

Info

Publication number
JPH02100766A
JPH02100766A JP63254246A JP25424688A JPH02100766A JP H02100766 A JPH02100766 A JP H02100766A JP 63254246 A JP63254246 A JP 63254246A JP 25424688 A JP25424688 A JP 25424688A JP H02100766 A JPH02100766 A JP H02100766A
Authority
JP
Japan
Prior art keywords
attribute
output
symbol
logical
input
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.)
Granted
Application number
JP63254246A
Other languages
Japanese (ja)
Other versions
JP2721364B2 (en
Inventor
Tomoaki Kawai
智明 河合
Tsuneaki Kadosawa
角沢 常明
Kunitaka Ozawa
小澤 邦貴
Taku Nakamura
卓 中村
Eiji Koga
古賀 英治
Satoshi Ogiwara
聡 荻原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63254246A priority Critical patent/JP2721364B2/en
Publication of JPH02100766A publication Critical patent/JPH02100766A/en
Priority to US08/347,173 priority patent/US5721959A/en
Application granted granted Critical
Publication of JP2721364B2 publication Critical patent/JP2721364B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To prevent such errors as the decision omission or the duplication of the logical attribute of the exclusive output by deciding the logical attribute of the exclusive output of a symbol having the logical attribute in its output. CONSTITUTION:A pin attribute buffer 1-4b holds temporarily the pin attribute of a symbol having the logical attribute in its output at input of this symbol. Then the buffer 1-4b inputs the symbol while checking its contents. In other words, the logical attribute of one of both outputs is decided and therefore the logical attribute of the other output is allocated. Thus the logical attribute of one of both outputs of an 'IF' symbol of a flow chart is inputted to a mouse 1-2, a keyboard chart 1-1, etc., from an input device in the form 'YES'. Thus the logical attribute of the other output is decided as 'NO' and a graphic editing device is not required to perform the input of 'NO'.

Description

【発明の詳細な説明】 [産業上の利用分計] 本発明は図編集装置に係り、CADシステム等の図編集
装置において、図のシンボルの論理属性を定める図編集
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Usage] The present invention relates to a diagram editing device, and more particularly, to a diagram editing device that determines logical attributes of symbols in a diagram in a diagram editing device such as a CAD system.

[従来の技術] 一般にフローチャート等のチャートにおいて、例えばI
F文などのシンボルにおける出力には、“YES”、“
No”などの論理属性が割りあてられている。このよう
な出力に論理属性を持つシンボルをCADシステムなど
の図編集装置の上で編集する場合、シンボル入力時にそ
のシンボルの出力に対し、“YES”及び“No”のど
ちらの論理属性を有するかを決定する必要がある。この
論理属性の決定に際し、従来は各出力に対して、独立に
論理属性を決定していた。
[Prior Art] Generally, in a chart such as a flowchart, for example, I
For output in symbols such as F statements, “YES”, “
A logical attribute such as "No" is assigned to the output of the symbol.When editing a symbol that has a logical attribute as an output on a diagram editing device such as a CAD system, when inputting the symbol, the output of the symbol is assigned a "YES" attribute. It is necessary to determine which logical attribute the output has, ``'' or ``No.'' In determining this logical attribute, conventionally, the logical attribute was independently determined for each output.

[発明が解決しようとしている課題] しかしながら、上記従来例ではシンボルにおける出力論
理属性の決定を、各出力ごとに独立におこなっていたた
め、次のような欠点があった。
[Problems to be Solved by the Invention] However, in the conventional example described above, the output logic attribute of a symbol is determined independently for each output, which has the following drawbacks.

(1)シンボルの2つの出力の論理属性は、排他的であ
るため、どちらか一方の出力の論理属性を決定すればよ
いのにもかかわらず、必ず残りの出力に対しても、論理
属性を入力しなければならない。
(1) The logical attributes of the two outputs of a symbol are exclusive, so even though it is only necessary to determine the logical attribute of one of the outputs, the logical attributes of the remaining outputs must also be determined. must be entered.

(2)シンボルの2つの出力の論理属性を、排他的なも
のとして扱っていないため、論理属性の重複、欠落など
の入力誤りを生ずる可能性がある。
(2) Since the logical attributes of the two outputs of a symbol are not treated as exclusive, input errors such as duplication or omission of logical attributes may occur.

[課題を解決するための手段] 本発明によれば、上記図編集装置において、出力に論理
を持つシンボルに対し、シンボル入力時にそのシンボル
のピン属性を一時保存するバッファを用意し、その内容
をチエツクしながら入力することによって、どちらか一
方の出力の論理属性を決定すれば、残るもう一方の出力
の論理属性を割り当てるようにしたので、たとえばフロ
ーチャートのIF”シンボルの出力の一方の論理属性を
マウスやキーボード等の入力装置から“YES”と入力
すると、もう一方の出力の論理属性が“NO″に定まり
、“No” と入力しなくてもよいようにした図編集装
置を実現できる。
[Means for Solving the Problems] According to the present invention, in the above-mentioned diagram editing device, a buffer is prepared for temporarily storing the pin attributes of the symbol at the time of inputting the symbol, and the contents of the buffer are If you determine the logical attribute of one of the outputs by inputting while checking, the logical attribute of the other remaining output is assigned. When "YES" is input from an input device such as a mouse or a keyboard, the logical attribute of the other output is determined to be "NO", making it possible to realize a diagram editing device in which it is not necessary to input "No".

[実施例] 第1図は本発明の実施例の構成を示す図である。木実施
例は、フローチャートをグラフィックデイスプレィ上で
編集するCADシステムについて述べたものである。第
1図において、1−1は入力装置のキーボード、1−2
は入力装置のマウス、1−3はシステム全体を制御する
ところの処理部CPU、1−4はメモリで、これはフロ
ーチャートの編集をおこなう第2図に示すようなエディ
タプログラムを記憶するエリア1−4aと、フローチャ
ート上の入力中のシンボルの持つピンの属性、すなわち
、入力ピンであるか、出力ピンであるか、人出力のどち
らでもないか、論理が“YES”出力であるか、“No
”出力であるかを一時的に保存するためのピン属性バッ
ファ1−4bと、入力中のシンボル名及び位置情報を時
的に格納するバッファ1−4c、  1−4dと、入力
中のシンボルの既に決定されたピン属性の数を示すカウ
ンタ1−4εと、入力されたシンボルデータを格納する
ための領域1−4fとからなる。1−5は編集中のフロ
ーチャートを表示するだめのデイスプレィである。1−
6は表示制御部で、表示画面の画素と1対1の記憶位置
を有するメモリ1−6Aを有する。第2図は、本発明の
実施例のフローチャートを示す図であり、第3図はデイ
スプレィ上の一画面、第4図はシンボルデータの形式を
示す図である。以下に、第2図、第3図、第4図を用い
て第1図の動作を説明する。
[Embodiment] FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. The tree embodiment describes a CAD system that edits flowcharts on a graphic display. In FIG. 1, 1-1 is a keyboard of an input device, 1-2
1-3 is the input device mouse, 1-3 is the processing unit CPU that controls the entire system, and 1-4 is the memory, which is area 1-4 that stores the editor program shown in FIG. 2 for editing the flowchart. 4a and the attributes of the pin of the symbol being input on the flowchart, that is, whether it is an input pin, an output pin, a human output, whether the logic is “YES” output, or “No”.
``A pin attribute buffer 1-4b for temporarily storing whether it is an output, buffers 1-4c and 1-4d for temporarily storing the symbol name and position information of the input symbol, It consists of a counter 1-4ε indicating the number of pin attributes that have already been determined, and an area 1-4f for storing input symbol data.1-5 is a display for displaying the flowchart being edited. .1-
Reference numeral 6 denotes a display control unit, which includes a memory 1-6A having storage locations in one-to-one correspondence with pixels on the display screen. FIG. 2 is a diagram showing a flowchart of an embodiment of the present invention, FIG. 3 is a diagram showing one screen on a display, and FIG. 4 is a diagram showing a format of symbol data. The operation of FIG. 1 will be explained below using FIGS. 2, 3, and 4.

まず、フローチャートを入力・、[1−するためのエデ
ィタを起動すると、ステップ2−3でキーボード1−1
からのコマンド入力待ちになる。いま条件判断をするシ
ンボル“IF”を追加する“ADDSYM  IF”と
いうコマンドが入力されたとすると、ステップ2−10
に進む。ここでは、カウンタ1−4eの値(以下iで表
わす)iをφにリセットし、2−11でマウス1−2に
よって、シンボル°’IF”のデイスプレィ上に置く位
置を決める。ここで、シンボル名バッファ1−40に“
IF”を、位置情報バッファ1−4dにマスクによって
指定された位置情報をそれぞれ書き込む。さらに、デイ
スプレィ上に3−1のシンボル”IF”の枠のみをメモ
リ1−6Aに書き込み、表示する。次に、ステップ2−
12でビン番号読み込みチエツク処理をおこなう。シン
ボル゛’IF”のビン番号を第3図のように1〜4とす
ると、ここではマウスからのピン指定を待ち、ビン属性
バッファ1−4bのマウスによる指定ピンに対するエン
トリを調べる。もし、既にエントリがあれば再度マウス
から別のピンが指定されるのを待つが、エントリがなけ
ればそのビン番号をレジスタA(1−3a)に保持し、
2−13で、キーボード1−1からそのピンの人出力の
属性が指定されるのを待つ。ピンが入力ビンであれば、
ビン属性バッファのレジスタAが保持しているビン番号
の位置に、入力ビンであることを示すフラグINを立て
、カウンタiの値に1を加える。ピンが出力ピンであれ
ば、ステップ2−15でピンの論理属性(この場合” 
Y E S”、“No”)が指定されるのを待つ。
First, when you start the editor for inputting/[1-] the flowchart, in step 2-3 the keyboard 1-1
It will wait for command input from. Assuming that the command “ADDSYM IF” to add the symbol “IF” for conditional judgment is input, step 2-10
Proceed to. Here, the value i of the counter 1-4e (hereinafter referred to as i) is reset to φ, and in step 2-11, the position of the symbol °'IF'' on the display is determined using the mouse 1-2. name buffer 1-40 “
IF" and the position information designated by the mask to the position information buffer 1-4d.Furthermore, only the frame of the symbol 3-1 "IF" is written to the memory 1-6A and displayed on the display.Next Step 2-
At step 12, the bin number is read and checked. Assuming that the bin number of the symbol ``IF'' is 1 to 4 as shown in Figure 3, here we wait for the pin specification from the mouse and check the entry for the pin specified by the mouse in the bin attribute buffer 1-4b. If there is an entry, it will wait for another pin to be designated by the mouse again, but if there is no entry, it will hold that bin number in register A (1-3a) and
At step 2-13, it waits for the human output attribute of that pin to be specified from the keyboard 1-1. If the pin is an input bin,
A flag IN indicating that the bin is an input bin is set at the position of the bin number held in register A of the bin attribute buffer, and 1 is added to the value of the counter i. If the pin is an output pin, step 2-15 sets the logical attribute of the pin (in this case “
Wait for ``YES'', ``No'') to be specified.

ピンの論理属性が“Y E S ”であれば、ビン属性
バッファのレジスタAが保持しているビン番号の位置に
論理が’Y E S”で出力ビンであることを示すフラ
グYOUTを立て3−2のように、そのピン位置に“Y
ES”を表示し再度ピン番号読み込みチエツク処理をお
こない、上記と同様にピン属性バッファの所定の位Mに
、論理が°゛NO”で出力ビンであることを示すフラグ
N0OTを立て、ステップ3−3のように、そのピン位
置にNOを表示する。もし、ステップ2−15て指定さ
れた論理が°゛NO”なら、論理を逆にして上記と同様
の操作をおこなう。
If the logic attribute of the pin is "YES", set a flag YOUT indicating that the logic is "YES" and the pin is an output bin at the bin number held in register A of the bin attribute buffer. -2, at that pin position “Y”
ES" is displayed and the pin number is read and checked again. Similarly to the above, a flag N0OT is set in a predetermined position M of the pin attribute buffer to indicate that the logic is "NO" and the bin is an output bin. Step 3- 3, display NO at that pin position. If the logic specified in step 2-15 is NO, the logic is reversed and the same operation as above is performed.

次にカウンタiの(+i’fに2を加え、i=3でなり
ねば、上記の操作を縁り返すが、i=3であれは評価式
3−4を入力、表示する。そして、シンボル名バッファ
1−4c、位置情報バッファ1−4d、ピン属性バッフ
ァ1−4b、及び2−27で入力した評価式から、図4
の形式のシンボルデータを作成し、シンボルデータ格納
領域1−4fの所定の位置に格納する。
Next, add 2 to (+i'f) of counter i, and if i = 3, repeat the above operation, but if i = 3, input and display evaluation formula 3-4. From the evaluation formula input in name buffer 1-4c, position information buffer 1-4d, pin attribute buffer 1-4b, and 2-27,
Symbol data in the format is created and stored at a predetermined position in the symbol data storage area 1-4f.

以上で、コマンドが“ADDSYHIF’“であった場
合の処理は終了し、ステップ2−3に戻す。別のコマン
ドてあった場合には、ステップ2−5.2−6でそれぞ
れ所定の処理をおこなう。
This completes the process when the command is "ADDSYHIF'" and returns to step 2-3. If there are other commands, respective predetermined processes are performed in steps 2-5 and 2-6.

木実層側の効果としては、シンボル゛’IF”の出力論
理の一方を決定することによって、もう方の論理を入力
しなくても決定され表示されるため、論理の決定に伴な
う記入漏れや、重複といった昔1(りをなくすことがで
きる。
The effect on the tree layer side is that by determining one of the output logics of the symbol ``IF'', the other logic is determined and displayed without inputting it, so the input associated with determining the logic is You can eliminate old problems such as omissions and duplication.

[他の実施例] 上記実施例におりるフローチャートは、HCPチャート
等の別のヂャート図であってもよく、シンボルについて
b″’IF”に限定したものではなく、出力属性として
論理を持つものなら何でもよい。
[Other Embodiments] The flowchart in the above embodiment may be another chart such as an HCP chart, and the symbol is not limited to b'''IF'', but may have logic as an output attribute. Anything is fine.

また、出力論理としては’YES”、”No”などの2
出力論理に限定したものではなく、3出力以上の論理属
性を持つものであっても、いくつかの出力属性を入力し
た時点で、残りの論理属性が決定できるものであれは何
でもよい。
In addition, the output logic is 2 such as 'YES' and 'No'.
The present invention is not limited to output logic, and may be anything that allows the remaining logical attributes to be determined when some output attributes are input, even if the logical attributes have three or more outputs.

[発明の効果] 以上説明したように、出力に論理属性を持っつシンボル
の排他出力の論理属性を決定することにより、排他出力
の論理属性の決定漏れや重複といった誤りをなくすこと
ができる。
[Effects of the Invention] As described above, by determining the logical attribute of the exclusive output of a symbol whose output has a logical attribute, it is possible to eliminate errors such as omission or duplication of the logical attribute of the exclusive output.

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

第1図は本発明の実施例の構成を示す図、第2図は本発
明の実施例のフローチャートを示す図、 第3図は本発明の実施例のデイスプレィの一画面を示す
図、 第4図は本発明の実施例のシンボルデータの形式の一例
を示す図。 ′ !−1・・・キーボード、1−2・・・マウス、1−3
・−・CPU、1−3a−・・レジスタA11−4・・
・メモリ、1−4a・・・エディタプログラム、1−4
b・・・ピン属性バッファ、1−4c・・・シンボル名
バッファ、1−4d・・・シンボル位置情報バッファ、
1−4e・・・接続ピン数カウンタ111−4f・・・
シンボルデータ格納領域、1−5・・・デイスプレィ。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing a flowchart of the embodiment of the present invention, FIG. 3 is a diagram showing one screen of the display of the embodiment of the present invention, and FIG. The figure is a diagram showing an example of the format of symbol data according to the embodiment of the present invention. ′! -1...Keyboard, 1-2...Mouse, 1-3
・-・CPU, 1-3a-・Register A11-4...
・Memory, 1-4a...Editor program, 1-4
b...Pin attribute buffer, 1-4c...Symbol name buffer, 1-4d...Symbol position information buffer,
1-4e... Connection pin number counter 111-4f...
Symbol data storage area, 1-5...Display.

Claims (1)

【特許請求の範囲】 チャートを表わすチャート情報を入力する入力手段と、
前記入力手段から入力されたチャート情報に基づいてチ
ャートを表示させる表示制御手段と、 前記表示制御手段により表示されるチャートに対する論
理属性の1つを入力する属性入力手段と、 前記属性入力手段から入力された論理属性に基づき、前
記チャートの他の論理属性を決定する決定手段と、 前記決定手段と前記属性入力手段とに応答して前記チャ
ートにさらに前記論理属性の情報を表示させる手段とを
有する図編集装置。
[Claims] Input means for inputting chart information representing a chart;
Display control means for displaying a chart based on chart information input from the input means; Attribute input means for inputting one of the logical attributes for the chart displayed by the display control means; Input from the attribute input means determining means for determining another logical attribute of the chart based on the determined logical attribute; and means for further displaying information on the logical attribute on the chart in response to the determining means and the attribute input means. Illustration editing device.
JP63254246A 1988-07-01 1988-10-07 Diagram editing device Expired - Lifetime JP2721364B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63254246A JP2721364B2 (en) 1988-10-07 1988-10-07 Diagram editing device
US08/347,173 US5721959A (en) 1988-07-01 1994-11-22 Information processing apparatus for pattern editing using logic relationship representative patterns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63254246A JP2721364B2 (en) 1988-10-07 1988-10-07 Diagram editing device

Publications (2)

Publication Number Publication Date
JPH02100766A true JPH02100766A (en) 1990-04-12
JP2721364B2 JP2721364B2 (en) 1998-03-04

Family

ID=17262313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63254246A Expired - Lifetime JP2721364B2 (en) 1988-07-01 1988-10-07 Diagram editing device

Country Status (1)

Country Link
JP (1) JP2721364B2 (en)

Also Published As

Publication number Publication date
JP2721364B2 (en) 1998-03-04

Similar Documents

Publication Publication Date Title
US7721255B2 (en) Sequence program editing apparatus
JPH03257671A (en) Design uptake system
JPH043247A (en) Enterprise information flow defining method
US5469539A (en) Method for abstracting/detailing structuring elements of system specification information
JPH02100766A (en) Graphic editing device
JPH0574942A (en) Cad device for designing layout pattern
JPH0277838A (en) Control system for program selective execution menu
JPH06332749A (en) Register analysis processor
JP2815364B2 (en) CAD equipment
JPS6050589A (en) Document generation system
JPS63138466A (en) Control method for form data on cad system
JP3028543B2 (en) Shape redisplay method
JP3234718B2 (en) Character information display processing device depending on date and time
JPH03211675A (en) Cad drawing display system
JPS59127157A (en) Test data generator
JP2590281B2 (en) Procedure Definition Screen Display Processing Method in Interactive Program Creation System
JP2004118649A (en) Generating method and device of menu selectable test program tool
JPH06187221A (en) Document processing system
JPH0822490A (en) Selecting method for layer and editing method for layer attribute
JPH04348427A (en) Screen input/output back-up system
JPS63249216A (en) Registering and displaying system for command information
JPH0466994A (en) Multiwindow display device
JPH02165227A (en) Developing processing system for expanded template table
JPS61245283A (en) Method for processing picture memory
JPH03294967A (en) Circuit diagram input device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 11

EXPY Cancellation because of completion of term