JP2721364B2 - Diagram editing device - Google Patents

Diagram editing device

Info

Publication number
JP2721364B2
JP2721364B2 JP63254246A JP25424688A JP2721364B2 JP 2721364 B2 JP2721364 B2 JP 2721364B2 JP 63254246 A JP63254246 A JP 63254246A JP 25424688 A JP25424688 A JP 25424688A JP 2721364 B2 JP2721364 B2 JP 2721364B2
Authority
JP
Japan
Prior art keywords
pin
attribute
input
symbol
output
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.)
Expired - Lifetime
Application number
JP63254246A
Other languages
Japanese (ja)
Other versions
JPH02100766A (en
Inventor
智明 河合
常明 角沢
邦貴 小澤
卓 中村
英治 古賀
聡 荻原
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)

Description

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

[従来の技術] 一般にフローチャート等のチャートにおいて、例えば
IF文などのシンボルにおける出力には、“YES",“NO"な
どの論理属性が割りあてられている。このような出力に
論理属性を持つシンボルをCADシステムなどの図編集装
置の上で編集する場合、シンボル入力時にそのシンボル
の出力に対し、“YES"及び“NO"のどちらの論理属性を
有するかを決定する必要がある。この論理属性の決定に
際し、従来は各出力に対して、独立に論理属性を決定し
ていた。
[Related Art] Generally, in a chart such as a flowchart, for example,
Logical attributes such as "YES" and "NO" are assigned to the output of a symbol such as an IF statement. When a symbol having such a logical attribute is edited on a diagram editing apparatus such as a CAD system, which symbol has a logical attribute of "YES" or "NO" with respect to the output of the symbol when the symbol is input. Need to decide. In determining the logical attribute, conventionally, the logical attribute is independently determined for each output.

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

(1)シンボルの2つの出力の論理属性は、排他的であ
るため、どちらか一方の出力の論理属性を決定すればい
のにもかかわらず、必ず残りの出力に対しても、論理属
性を入力しなければならない。
(1) Since the logical attributes of the two outputs of the symbol are exclusive, the logical attribute of one of the outputs has to be determined. Must.

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

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

[実施例] 第1図は本発明の実施例の構成を示す図である。本実
施例は、フローチャートをグラフィックディスプレイ上
で編集するCADシステムについて述べたものである。第
1図において、1−1は入力装置のキーボード、1−2
は入力装置のマウス、1−3はシステム全体を制御する
ところの処理部CPU、1−4はメモリで、これはフロー
チャートの編集をおこなう第2図に示すようなエディタ
プログラムを記憶するエリア1−4aと、フローチャート
上の入力中のシンボルの持つピンの属性、すなわち、入
力ピンであるか、出力ピンであるか、入出力のどちらで
もないか、論理が“YES"であるか、“NO"出力であるか
を一時的に保存するためのピン属性バッファ1−4bと、
入力中のシンボル名及び位置情報を一時的に格納するバ
ッファ1−4c,1−4dと、入力中のシンボルの既に決定さ
れたピン属性の数を示すカウンタ1−4eと、入力された
シンボルデータを格納するための領域1−4fとからな
る。1−5は編集中のフローチャートを表示するための
ディスプレイである。1−6は表示制御部で、表示画面
の画素と1対1の記憶位置を有するメモリ1−6Aを有す
る。第2図は、本発明の実施例のフローチャートを示す
図であり、第3図はディスプレイの一画面、第4図はシ
ンボルデータの形式を示す図である。以下に、第2図、
第3図、第4図を用いて第1図の動作を説明する。ま
ず、フローチャートを入力・編集するためのエディタを
起動すると、ステップ2−3でキーボード1−1からの
コマンド入力待ちになる。いま条件判断をするシンボル
“IF"を追加する“ADDSYM IF"というコマンドが入力さ
れたとすると、ステップ2−10に進む。ここでは、カウ
ンタ1−4eの値(以下iで表わす)iをφにリセット
し、2−11でマウス1−2によって、シンボル“IF"の
ディスプレイ上に置く位置を決める、ここで、シンボル
名バッファ1−4cに“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でピンの論理属性(この場合“YE
S",“NO")が指定されるのを待つ。ピンの論理属性が
“YES"であれば、ピン属性バッファのレジスタAが保持
しているピン番号の位置に論理が“YES"で出力ピンであ
ることを示すフラグYOUTを立て3−2のように、そのピ
ン位置に“YES"を表示し再度ピン番号読み込みチェック
処理をおこない、上記と同様にピン属性バッファの所定
の位置に、論理が“NO"で出力ピンであることを示すフ
ラグNOOTを立て、ステップ3−3のように、そのピン位
置にNOを表示する。もし、ステップ2−15で指定された
論理が“NO"なら、論理を逆にして上記と同様の操作を
おこなう。
Embodiment FIG. 1 is a diagram showing a configuration of an embodiment of the present invention. The present embodiment describes a CAD system for editing a flowchart on a graphic display. In FIG. 1, 1-1 is a keyboard of an input device, 1-2.
Is a mouse of an input device, 1-3 is a processing unit CPU for controlling the entire system, and 1-4 is a memory, which is an area for storing an editor program as shown in FIG. 2 for editing a flowchart. 4a and the attribute of the pin of the symbol being input in the flowchart, that is, whether it is an input pin, an output pin, neither an input nor an input, the logic is "YES", 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 name and position information of the currently input symbol, a counter 1-4e indicating the number of already determined pin attributes of the currently input symbol, and input symbol data. Is stored in an area 1-4f for storing. Reference numeral 1-5 denotes a display for displaying a flowchart during editing. Reference numeral 1-6 denotes a display control unit, which has a memory 1-6A having a one-to-one storage position with the pixels of the display screen. FIG. 2 is a diagram showing a flowchart of the embodiment of the present invention, FIG. 3 is a diagram showing one screen of a display, and FIG. 4 is a diagram showing a format of symbol data. In the following, FIG.
The operation of FIG. 1 will be described with reference to FIGS. First, when an editor for inputting / editing a flowchart is started, a command input from the keyboard 1-1 is awaited in step 2-3. Assuming that a command "ADDSYM IF" for adding a symbol "IF" for condition determination has been input, the process proceeds to step 2-10. Here, the value i (hereinafter referred to as i) of the counter 1-4e is reset to φ, and the position of the symbol "IF" on the display is determined by the mouse 1-2 in 2-11. "IF" is stored in the buffer 1-4c and the position information buffer 1-4d.
The position information specified by the mouse is written into the respective fields. Furthermore, a 3-1 symbol "IF" is displayed on the display.
Is written into the memory 1-6A and displayed. next,
At step 2-12, a pin number reading check process is performed. The pin number of the symbol "IF" is set to 1 as shown in FIG.
Assuming that 4, the pin waits for the pin designation from the mouse, and checks the entry for the pin designated by the mouse in the pin attribute buffer 1-4b. If there is already an entry, the process waits for another pin to be designated by the mouse again. If there is no entry, the pin number is held in the register A (1-3a). Waits until the input / output attribute of the pin is specified. If the pin is an input pin, a flag IN indicating an input pin is set at the position of the pin number held by the register A of the pin attribute buffer, and 1 is added to the value of the counter i. If the pin is an output pin, the logic attribute of the pin (in this case, “YE
S "," NO ") is specified.If the logic attribute of the pin is" YES ", the logic is output at the position of the pin number held in the register A of the pin attribute buffer with the logic" YES ". As shown in 3-2, a flag YOUT indicating a pin is set, "YES" is displayed at the pin position, the pin number reading check process is performed again, and the logic is placed at a predetermined position in the pin attribute buffer in the same manner as described above. Sets a flag NOOT indicating "NO" to indicate that the pin is an output pin, and displays NO at that pin position as in step 3-3.If the logic specified in step 2-15 is "NO", , And perform the same operation as above.

次にカウンタiの値に2を加え、i=3でなければ、
上記の操作を繰り返すが、i=3であれば評価式3−4
を入力、表示する。そして、シンボル名バッファ1−4
c、位置情報バッファ1−4d、ピン属性バッファ1−4
b、及び2−27で入力した評価式から、図4の形式のシ
ンボルデータを作成し、シンボルデータ格納領域1−4f
の所定の位置に格納する。
Next, 2 is added to the value of the counter i, and if not i = 3,
The above operation is repeated. If i = 3, the evaluation expression 3-4
Enter and display. Then, the symbol name buffer 1-4
c, position information buffer 1-4d, pin attribute buffer 1-4
b, and the symbol data in the format of FIG. 4 is created from the evaluation formula input in 2-27, and the symbol data storage area 1-4f is created.
At a predetermined position.

以上で、コマンドが“ADDSYH IF"であった場合の処理
は終了し、ステップ2−3に戻す。別のコマンドであっ
た場合には、ステップ2−5,2−6でそれぞれ所定の処
理をおこなう。
As described above, the processing when the command is “ADDSYH IF” ends, and the process returns to step 2-3. If the received command is another command, predetermined processing is performed in steps 2-5 and 2-6.

本実施例の効果としては、シンボル“IF"の出力論理
の一方を決定することによって、もう一方の論理を入力
しなくても決定され表示されるため、論理の決定に伴な
う記入漏れや、重複といった誤りをなくすことができ
る。
The effect of the present embodiment is that, by determining one of the output logics of the symbol “IF”, it is determined and displayed without inputting the other logic. And errors such as duplication can be eliminated.

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

また、出力論理としては“YES",“NO"などの2出力論
理に限定したものではなく、3出力以上の論理属性を持
つものであっても、いくつかの出力属性を入力した時点
で、残りの論理属性が決定できるものであれば何でもよ
い。
The output logic is not limited to two-output logic such as "YES" and "NO". Even if the output logic has three or more output logical attributes, when some output attributes are input, Anything can be used as long as the remaining logical attributes can be determined.

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

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

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

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 卓 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (72)発明者 古賀 英治 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (72)発明者 荻原 聡 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Taku Nakamura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Eiji Koga 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon (72) Inventor Satoshi Ogiwara 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】チャートを表わすチャート情報を入力する
入力手段と、前記入力手段から入力されたチャート情報
に基づいてチャートを表示させる表示制御手段と、 前記表示制御手段により表示されるチャートに対する論
理属性の1つを入力する属性入力手段と、 前記属性入力手段から入力された論理属性に基づき、前
記チャートの他の論理属性を決定する決定手段と、 前記決定手段と前記属性入力手段とに応答して前記チャ
ートにさらに前記論理属性の情報を表示させる手段とを
有する図編集装置。
1. An input unit for inputting chart information representing a chart, a display control unit for displaying a chart based on the chart information input from the input unit, and a logical attribute for the chart displayed by the display control unit Attribute input means for inputting one of the following; determining means for determining another logical attribute of the chart based on the logical attribute input from the attribute input means; and responding to the determining means and the attribute input means. Means for displaying the information of the logical attribute on the chart.
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 JPH02100766A (en) 1990-04-12
JP2721364B2 true 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
JPH02100766A (en) 1990-04-12

Similar Documents

Publication Publication Date Title
US6437799B1 (en) Method and apparatus for logical zooming of a directed graph
JP3359393B2 (en) Graphic data parallel processing display device
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JP2721364B2 (en) Diagram editing device
JP3346597B2 (en) How to control windows
JP2686167B2 (en) Circuit drawing display device
JPH03286378A (en) Graphic output system
CN115983214A (en) Data editing method, apparatus, device, medium, and program product
JPH096584A (en) Image display device
JP3024175B2 (en) Multi-window display device
JP2829051B2 (en) Character display method
JP2000010704A (en) Method and system for picture enlargement display and record medium recording program for picture enlargement display
JPS6217250B2 (en)
JPH06236246A (en) Source data editing device for designing slip
JPH03211675A (en) Cad drawing display system
JPS6079472A (en) Picture information processing system
JPH04252379A (en) Layout device for semiconductor device
JPH04314167A (en) Character input system
JPH05333847A (en) System for processing image data display
JPS6051903A (en) Generating method of process control program
JPS59191668A (en) Logical arithmetic device
JPH0463460A (en) Lsi layout pattern data checking apparatus
JPH04111054A (en) Document processor
JPH01260526A (en) System for testing display device
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