TWI738113B - Method for continually editing vertical lines of visual programming language - Google Patents
Method for continually editing vertical lines of visual programming language Download PDFInfo
- Publication number
- TWI738113B TWI738113B TW108141503A TW108141503A TWI738113B TW I738113 B TWI738113 B TW I738113B TW 108141503 A TW108141503 A TW 108141503A TW 108141503 A TW108141503 A TW 108141503A TW I738113 B TWI738113 B TW I738113B
- Authority
- TW
- Taiwan
- Prior art keywords
- node
- queue
- nodes
- candidate
- editor
- Prior art date
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
Description
本發明涉及一種圖形程式語言的編輯方法,尤其涉及一種圖形程式語言的垂直線的編輯方法。 The invention relates to an editing method of a graphic programming language, in particular to an editing method of a vertical line of a graphic programming language.
一般來說,使用者可以通過圖形程式語言編輯器來編輯多個虛擬工控設備之間的邏輯連接關係(例如串、並聯關係),藉此,使用者可以輕易地對多個虛擬工控設備判斷當前設備狀態的組合進行自動化操作,並進而建立所需的系統態樣。 Generally speaking, the user can edit the logical connection relationship (such as series and parallel relationship) between multiple virtual industrial control devices through a graphical programming language editor, so that the user can easily determine the current status of multiple virtual industrial control devices The combination of equipment status is automated, and then the required system status is established.
現有的圖形程式語言編輯器,例如階梯圖(Ladder Diagram)編輯器,主要是以一個使用者指令對應至一個動作的方式來進行編輯。當使用者要改變圖形中的多個元件區塊(又稱為normal block,分別對應至不同虛擬設備)之間的連接關係時,一次僅被允許新增一條垂直線。換句話說,當使用者要建立多條垂直線時,就必須需要分別施以多個指令,相當不便。 The existing graphical programming language editors, such as the Ladder Diagram editor, are mainly edited in a way that one user command corresponds to one action. When the user wants to change the connection relationship between multiple component blocks (also called normal blocks, corresponding to different virtual devices) in the graphic, only one vertical line is allowed to be added at a time. In other words, when the user wants to create multiple vertical lines, it is necessary to issue multiple commands separately, which is quite inconvenient.
承上所述,於現行的編輯器的操作中,使用者在把所需的所有元件區塊都新增至圖形中後,無法藉由單一次操作建立一條跨越多個節點的連續 垂直線,並藉此快速地調整多個元件區塊的連接關係。有鑑於此,對於使用者來說,一個具有眾多元件區塊且連接關係較為複雜的圖形,實相當難以繪製。 Continuing from the above, in the current editor operation, after the user adds all the required component blocks to the graph, he cannot create a continuous line spanning multiple nodes with a single operation. Vertical lines, and to quickly adjust the connection relationship of multiple component blocks. In view of this, it is quite difficult for users to draw a graphic with many component blocks and a relatively complex connection relationship.
本發明之主要目的,在於提供一種圖形程式語言的垂直線連續編輯方法,係可允許使用者以單一次操作直接於圖形上建立一條跨越多個節點的連續垂直線,藉此快速地修改多個元件區塊之間的連接關係同時更新圖形。 The main purpose of the present invention is to provide a vertical line continuous editing method in a graphic programming language, which allows the user to directly create a continuous vertical line across multiple nodes on the graphic with a single operation, thereby quickly modifying multiple The connection relationship between the component blocks updates the graphics at the same time.
為了達成上述之目的,本發明主要是應用於一編輯器,並且包括下列步驟:進入一編輯模式;在一串/並聯圖形上取得一起始節點,其中該串/並聯圖形由複數元件區塊組成,並且該起始節點為任一該元件區塊的端點;計算並顯示當前節點周圍的一或多個候選節點,其中該一或多個候選節點為該當前節點周圍的一或多個該元件區塊的端點;由該當前節點連接至任一該候選節點;將該被連接的候選節點轉換為一已連接節點;判斷是否離開該編輯模式;於離開該編輯模式前將該已連接節點做為該當前節點,並繼續計算、顯示並連接一或多個候選節點;於離開該編輯模式時產生連接該起始節點及一或多個該已連接節點的一連續垂直線;及,依據該連續垂直線修改該複數元件區塊的串/並聯關係並更新該串/並聯圖形。 In order to achieve the above purpose, the present invention is mainly applied to an editor, and includes the following steps: enter an editing mode; obtain a starting node on a series/parallel graph, wherein the series/parallel graph is composed of a plurality of component blocks , And the start node is the end point of any of the component blocks; calculate and display one or more candidate nodes around the current node, where the one or more candidate nodes are one or more of the candidate nodes around the current node End point of the component block; connect the current node to any candidate node; convert the connected candidate node into a connected node; determine whether to leave the edit mode; connect the connected node before leaving the edit mode Use the node as the current node, and continue to calculate, display, and connect one or more candidate nodes; when leaving the edit mode, a continuous vertical line connecting the starting node and one or more connected nodes is generated; and, Modify the series/parallel relationship of the plurality of component blocks according to the continuous vertical line and update the series/parallel pattern.
本發明相對於現有技術所能達成的技術功效在於,使用者可以藉由單一次的操作就直接在圖形上建立一條連續垂直線,並且藉由連續垂直線快速地修改多個元件區塊之間的連接關係,同時更新圖形,藉此提昇編輯器的使用便利性。 Compared with the prior art, the technical effect of the present invention is that the user can directly create a continuous vertical line on the graph with a single operation, and quickly modify the multiple component blocks through the continuous vertical line. At the same time, the graphics are updated to enhance the convenience of the editor.
1:圖形 1: graphics
2:元件區塊 2: component block
21:串聯區塊 21: serial block
22:並聯區塊 22: Parallel block
23:節點 23: Node
3、8:連續垂直線 3, 8: continuous vertical line
31:第一切割線 31: The first cutting line
32:第二切割線 32: The second cutting line
33:第三切割線 33: The third cutting line
41、61:起始節點 41, 61: starting node
42、62:候選節點 42, 62: candidate nodes
43、63:已連接節點 43, 63: connected nodes
5、7:預連接線 5, 7: pre-connected line
B0~B15:元件區塊 B0~B15: component block
L0~L11:端點 L0~L11: Endpoint
Q:佇列 Q: Queue
S10~S26:編輯步驟 S10~S26: Editing steps
S30~S48、S50~S56、S58~S70:編輯步驟 S30~S48, S50~S56, S58~S70: Editing steps
圖1A為本發明的連續垂直線的第一具體實施例的第一建立動作圖。 FIG. 1A is a first establishing action diagram of the first specific embodiment of the continuous vertical line of the present invention.
圖1B為本發明的連續垂直線的第一具體實施例的第二建立動作圖。 FIG. 1B is a diagram of the second establishing action of the first specific embodiment of the continuous vertical line of the present invention.
圖1C為本發明的連續垂直線的第一具體實施例的第三建立動作圖。 FIG. 1C is a diagram of the third establishing action of the first specific embodiment of the continuous vertical line of the present invention.
圖2為本發明的第一具體實施例的編輯流程圖。 Fig. 2 is an editing flowchart of the first specific embodiment of the present invention.
圖3A為本發明的連續垂直線的第二具體實施例的第一建立動作圖。 Fig. 3A is a first establishing action diagram of the second embodiment of the continuous vertical line of the present invention.
圖3B為本發明的連續垂直線的第二具體實施例的第二建立動作圖。 FIG. 3B is a second establishing action diagram of the second specific embodiment of the continuous vertical line of the present invention.
圖3C為本發明的連續垂直線的第二具體實施例的第三建立動作圖。 FIG. 3C is a diagram of the third establishing action of the second embodiment of the continuous vertical line of the present invention.
圖3D為本發明的連續垂直線的第二具體實施例的第四建立動作圖。 FIG. 3D is a diagram of the fourth establishing action of the second specific embodiment of the continuous vertical line of the present invention.
圖3E為本發明的連續垂直線的第二具體實施例的第五建立動作圖。 FIG. 3E is a diagram of the fifth establishing action of the second specific embodiment of the continuous vertical line of the present invention.
圖3F為本發明的連續垂直線的第二具體實施例的第六建立動作圖。 FIG. 3F is a diagram of the sixth establishing action of the second embodiment of the continuous vertical line of the present invention.
圖3G為本發明的連續垂直線的第二具體實施例的第七建立動作圖。 FIG. 3G is a diagram of the seventh establishing action of the second embodiment of the continuous vertical line of the present invention.
圖4為本發明的第一具體實施例的垂直線退回示意圖。 FIG. 4 is a schematic diagram of the vertical line retracting in the first specific embodiment of the present invention.
圖5A為本發明的第二具體實施例的編輯流程圖第一部分。 Fig. 5A is the first part of the editing flowchart of the second specific embodiment of the present invention.
圖5B為本發明的第二具體實施例的編輯流程圖第二部分。 Fig. 5B is the second part of the editing flowchart of the second specific embodiment of the present invention.
圖5C為本發明的第二具體實施例的編輯流程圖第三部分。 Fig. 5C is the third part of the editing flowchart of the second specific embodiment of the present invention.
圖6A為本發明的連續垂直線的第三具體實施例的第一建立動作圖。 Fig. 6A is a first establishing action diagram of the third embodiment of the continuous vertical line of the present invention.
圖6B為本發明的連續垂直線的第三具體實施例的第二建立動作圖。 FIG. 6B is a second establishing action diagram of the third embodiment of the continuous vertical line of the present invention.
圖6C為本發明的連續垂直線的第三具體實施例的第三建立動作圖。 FIG. 6C is a diagram of the third establishing action of the third embodiment of the continuous vertical line of the present invention.
圖6D為本發明的連續垂直線的第三具體實施例的第四建立動作圖。 FIG. 6D is a diagram of the fourth establishing action of the third embodiment of the continuous vertical line of the present invention.
茲就本發明之一較佳實施例,配合圖式,詳細說明如後。 With regard to a preferred embodiment of the present invention, the detailed description is given below in conjunction with the drawings.
本發明揭露了一種圖形程式語言的垂直線連續編輯方法(下面將於說明書中簡稱為編輯方法),所述編輯方法主要應用於各式圖形程式語言的編輯器,並且所述編輯器由電腦設備所運行。 The present invention discloses a vertical line continuous editing method of a graphic programming language (hereinafter referred to as the editing method in the specification). The editing method is mainly applied to editors of various graphic programming languages, and the editor is operated by a computer device. By running.
首請參閱圖1A、圖1B及圖1C,分別為本發明的連續垂直線的第一具體實施例的第一建立動作圖、第二建立動作圖與第三建立動作圖。 Firstly, please refer to FIG. 1A, FIG. 1B and FIG. 1C, which are respectively the first establishment action diagram, the second establishment action diagram and the third establishment action diagram of the first embodiment of the continuous vertical line of the present invention.
如圖1A所示,當使用者操作電腦設備,並於電腦設備上運行所述圖形程式語言的編輯器後,即可對編輯器進行操作,以藉由編輯器的編輯工具
(圖未標示)將一或多個元件區塊(Normal block)2添加至編輯器中,並由該些元件區塊2來構成一個串/並聯圖形(下面簡稱為圖形1)。
As shown in Figure 1A, when the user operates the computer device and runs the editor of the graphical programming language on the computer device, the editor can be operated by the editing tool of the editor
(The figure is not labeled) One or more
具體地,如圖1A所示,在使用者將多個元件區塊2添加至編輯器後,即可由多個串聯的元件區塊2構成一個串聯區塊21(Continue blocks),並由彼此並聯的多個串聯區塊21構成一個並聯區塊22(Branch blocks)。
Specifically, as shown in FIG. 1A, after the user adds
如圖1B所示,本發明的其中一個技術特徵在於,使用者可藉由電腦設備的滑鼠、鍵盤、觸控板等人機裝置對編輯器進行操作,以將圖形1中的多個節點23進行連接,其中各個節點23分別為各個元件區塊2的端點。值得一提的是,本發明中,使用者可以藉由單一次的操作(如操作上述滑鼠、鍵盤或觸控板)來完成圖形1中的複數個節點23的連接動作。
As shown in FIG. 1B, one of the technical features of the present invention is that the user can operate the editor with the mouse, keyboard, touchpad and other man-machine devices of the computer equipment to display multiple nodes in the
如圖1C所示,於使用者藉由單一次的操作連接了圖形1中的複數個節點23後,編輯器可依據被連接的複數個節點23產生一條連續垂直線3,並且藉由連續垂直線3來修改圖形1中的多個元件區塊2的串/並聯關係,同時更新圖形1並且重新顯示更新後的圖形1。
As shown in Figure 1C, after the user connects
本發明中,使用者藉由單一次的操作所建立的連續垂直線3可以同時跨越多個節點23,並可達到先前技術的編輯器需要依序發出多個指令後才能達成的效果。
In the present invention, the continuous
具體地,如圖1C所示,在編輯器依據使用者的操作產生了所述連續垂直線3後,編輯器即可重新規劃圖形1,將連續垂直線3左邊的多個元件區塊2重新劃分為一個新的並聯區塊22,將連續垂直線3右邊的多個元件區塊2也重新劃分為一個新的並聯區塊22,再將兩個新的並聯區塊22進行串聯。最後,再依據上述複數元件區塊2被更新後的串/並聯關係來更新圖形1。
Specifically, as shown in FIG. 1C, after the editor generates the continuous
如圖1B及圖1C所示,所述連續垂直線3是由複數垂直線構成,但於本發明中,使用者不需要發出多個指示(即,多個操作)以建立多條垂直線,而可藉由單一次的操作直接產生所述連續垂直線3。藉此,大幅提升了編輯器的便利性。
As shown in FIG. 1B and FIG. 1C, the continuous
值得一提的是,於圖1A至圖1C中,主要是以階梯圖(Ladder Diagram)的編輯器為例,以進行說明,但並不以此為限。 It is worth mentioning that in FIGS. 1A to 1C, the editor of Ladder Diagram is mainly used as an example for illustration, but it is not limited to this.
續請參閱圖2,為本發明的第一具體實施例的編輯流程圖。圖2揭露了本發明的編輯方法的具體編輯步驟,當圖形程式語言的編輯器執行了圖2所示的編輯步驟後,即可如圖1A至圖1C所示之範例而修改既有圖形1中的複數元件區塊2的串/並聯關係,並且對既有圖形1進行更新後再重新顯示。
Please continue to refer to FIG. 2, which is an editing flowchart of the first specific embodiment of the present invention. Figure 2 discloses the specific editing steps of the editing method of the present invention. After the editor of the graphics programming language executes the editing steps shown in Figure 2, the examples shown in Figures 1A to 1C can be modified to modify the existing
首先,編輯器接受使用者的外部操作(例如第一外部操作),以進入編輯模式(步驟S10)。本實施例中,使用者可以對編輯器進行操作,以於圖形1中添加所需數量與形態的複數元件區塊2,接著再令編輯器進入所述編輯模式,並於編輯模式中建立所述連續垂直線3,以藉由連續垂直線3修改複數元件區塊2的串/並聯關係並更新圖形1。
First, the editor accepts the user's external operation (for example, the first external operation) to enter the editing mode (step S10). In this embodiment, the user can operate the editor to add the required number and form of plural component blocks 2 to the
於進入編輯模式時,使用者可對電腦設備進行操作(例如操作所述滑鼠、鍵盤或觸控板等),以於圖形1中選擇一個起始節點(source node),其中,所述起始節點是圖形1中的任一個元件區塊2的端點(步驟S12)。步驟S12後,編輯器可將使用者選擇的起始節點做為當前節點,並且由當前節點開始建立所述連續垂直線3。本實施例中,當前節點指的是使用者藉由滑鼠、鍵盤或觸控板所操作的一個指標(例如滑鼠的游標)目前在編輯器的畫面中所停留的位置。
When entering the edit mode, the user can operate the computer equipment (for example, operate the mouse, keyboard, or touchpad, etc.) to select a source node in Figure 1, where the start The start node is the end point of any
值得一提的是,當所述起始節點被確定後,編輯器可將起始節點的所在位置添加至一個佇列(圖未標示)中,藉此記錄連續垂直線3的起始節點的位置(容後詳述)。
It is worth mentioning that after the start node is determined, the editor can add the location of the start node to a queue (not shown in the figure), thereby recording the start node of the continuous
步驟S12後,編輯器可以計算當前節點周圍的一或多個有效的候選節點,並且以特殊標記於圖形1上標示這些候選節點(步驟S14)。本實施例中,所述候選節點為當前節點周圍的一或多個元件區塊2的端點。更具體地,本實施例中的有效候選節點,指的是當使用者建立一條連接當前節點與候選節點的連接線時,不會造成任一元件區塊2短路的節點。
After step S12, the editor can calculate one or more valid candidate nodes around the current node, and mark these candidate nodes on the
舉例來說,若當前節點的周圍共有十個節點,但其中有三個節點會在與當前節點連接後造成至少一個元件區塊2短路,則編輯器在步驟S14中將僅會於圖形1上標記不會造成短路的七個節點,以做為前述的候選節點。
For example, if there are a total of ten nodes around the current node, but three of them will cause at least one
值得一提的是,編輯器還可監視使用者的操作(例如監控所述指標的位置),於指標由當前節點開始移動,並且移動距離大於門檻值時,才計算並顯示當前節點周圍的一或多個候選節點。藉此,可以有效避免使用者的誤觸。 It is worth mentioning that the editor can also monitor the user's operations (for example, monitor the position of the indicator). When the indicator starts to move from the current node and the moving distance is greater than the threshold value, it calculates and displays the one around the current node. Or multiple candidate nodes. In this way, the user's accidental touch can be effectively avoided.
另外,於編輯器監視使用者的操作的情況下,編輯器還可判斷所述指標由當前節點開始移動的移動方向。於此實施例中,編輯器可以在所述移動方向是朝上移動時,僅計算並顯示位在當前節點上方的一或多個候選節點的位置,並且在所述移動方向是朝下移動時,僅計算並顯示位在當前節點下方的一或多個候選節點的位置。藉此,可以避免同時於圖形1上顯示過多的候選節點,而造成使用者的混淆。
In addition, when the editor monitors the user's operation, the editor can also determine the direction in which the indicator starts to move from the current node. In this embodiment, the editor may only calculate and display the position of one or more candidate nodes above the current node when the moving direction is upward, and when the moving direction is downward , Only calculate and display the position of one or more candidate nodes below the current node. In this way, it is possible to avoid displaying too many candidate nodes on the
步驟S14後,編輯器已經在圖形1上顯示了可被連接的一或多個有效的候選節點,並且編輯器可再接受使用者的外部操作(例如第二外部操作),以將當前節點連接至其中一個被顯示的候選節點(步驟S16)。
After step S14, the editor has displayed one or more valid candidate nodes that can be connected on the
舉例來說,若使用者操作電腦設備的滑鼠,則使用者可藉由滑鼠將指標移動至起始節點(即,當前節點)的位置上,接著按下滑鼠左鍵,並自起始節點開始將指標拖曳至任一候選節點的位置上,藉此將起始節點(即,當前節點)連接至候選節點。 For example, if the user operates the mouse of a computer device, the user can move the pointer to the position of the starting node (ie, the current node) with the mouse, then press the left button of the mouse, and start The node starts to drag the indicator to the position of any candidate node, thereby connecting the starting node (ie, the current node) to the candidate node.
再舉例來說,若使用者操作電腦設備的鍵盤,則使用者可藉由方向鍵來將指標移動至起始節點的位置上,接著按下特殊鍵以鎖定起始節點後,再藉由方向鍵自起始節點開始將指標移動至任一候選節點的位置上,藉此將起始節點連接至候選節點。 For another example, if the user operates the keyboard of a computer device, the user can use the arrow keys to move the pointer to the position of the starting node, then press a special key to lock the starting node, and then use the direction The key moves the indicator from the starting node to the position of any candidate node, thereby connecting the starting node to the candidate node.
惟,上述說明僅為本發明的部分實施範例,但並不以上述者為限。 However, the above description is only part of the implementation examples of the present invention, but is not limited to the above.
當使用者通過滑鼠、鍵盤或觸控板將當前節點連接至任一候選節點後,編輯器再將被連接的候選節點轉換為已連接節點(步驟S18)。 After the user connects the current node to any candidate node through the mouse, keyboard or touch pad, the editor then converts the connected candidate node into a connected node (step S18).
值得一提的是,當任一候選節點被轉換為已連接節點後,編輯器將這個已連接節點的所在位置添加至所述佇列中,藉此記錄所述連續垂直線3的經過節點的位置及/或終點節點的位置。
It is worth mentioning that when any candidate node is converted to a connected node, the editor adds the location of this connected node to the queue, thereby recording the number of nodes passing by the continuous
於一實施例中,編輯器是以虛線點來顯示所述一或多個有效的候選節點,並以實線點來顯示所述已連接節點。於另一實施例中,編輯器是以第一顏色(例如綠色)來顯示所述一或多個有效的候選節點,並以第二顏色(例如藍色)來顯示所述已連接節點。通過上述區別顯示,使用者可更輕易地操作編輯器以建立所述連續垂直線3。
In one embodiment, the editor displays the one or more valid candidate nodes with dotted lines, and displays the connected nodes with solid dots. In another embodiment, the editor displays the one or more valid candidate nodes in a first color (for example, green), and displays the connected nodes in a second color (for example, blue). Through the above-mentioned difference display, the user can more easily operate the editor to create the continuous
值得一提的是,當使用者藉由外部操作將當前節點連接至已連接節點時,編輯器可選擇性地產生並顯示一條連接當前節點與已連接節點的預連接線(例如圖3C與圖3D所示的預連接線5)(步驟S20),藉此令使用者更輕易地理解所述連續垂直線3的建立過程。
It is worth mentioning that when the user connects the current node to the connected node through an external operation, the editor can selectively generate and display a pre-connected line connecting the current node and the connected node (for example, Figure 3C and Figure 3). The pre-connected line 5) shown in 3D (step S20), thereby making it easier for the user to understand the process of establishing the continuous
於使用者建立連續垂直線3的過程中,編輯器持續判斷是否接受了使用者發出的請求離開編輯模式的外部操作(例如第三外部操作)(步驟S22),並且於尚未接受所述第三外部操作前,將最後一個已連接節點做為當前節點,再重覆執行前述步驟S14至步驟S20,以持續進行連續垂直線3的建立程序。
During the process of creating the continuous
於一實施例中,使用者是操作電腦設備的滑鼠以執行連續垂直線3的建立程序。於此實施例中,所述第一外部操作是持續按著滑鼠的按鍵(即,編輯器於使用者按著滑鼠按鍵不放時進入編輯模式);所述第二外部操作是於持續按著滑鼠的按鍵的狀態下移動滑鼠以進行拖曳(即,使用者藉由拖曳滑鼠來連接兩個節點);所述第三外部操作是釋放滑鼠的按鍵(即,編輯器於使用者釋放滑鼠按鍵時離開編輯模式)。
In one embodiment, the user operates the mouse of the computer device to execute the continuous
於另一實施例中,使用者是操作電腦設備的鍵盤以執行連續垂直線3的建立程序。於此實施例中,所述第一外部操作是按壓鍵盤的特殊功能鍵(即,編輯器於特殊功能鍵被觸發時進入編輯模式);所述第二外部操作是按壓鍵盤的方向鍵(即,藉由方向鍵移動指標以連接兩個節點);所述第三外部操作是再次按壓鍵盤的特殊功能鍵(即,編輯器於特殊功能鍵被再次觸發時離開編輯模式)。
In another embodiment, the user operates the keyboard of the computer device to execute the continuous
上述說明僅為本發明的部分實施範例,但不以此為限。例如,編輯器可於使用者持續按壓特定按鍵(例如ALT)時進入編輯模式,並於特定按鍵被 釋放時離開編輯模式。再例如,編輯器亦可於使用者按壓滑鼠的特定按鍵(例如左鍵)時進入編輯模式,並於滑鼠的特定按鍵被再次按壓時離開編輯模式。 The above description is only part of the implementation examples of the present invention, but not limited thereto. For example, the editor can enter the editing mode when the user keeps pressing a specific key (such as ALT), and the specific key is Leave edit mode when released. For another example, the editor can also enter the editing mode when the user presses a specific button of the mouse (for example, the left button), and exit the editing mode when the specific button of the mouse is pressed again.
於其他實施例中,使用者亦可操作電腦設備的觸控螢幕或觸控板來執行連續垂直線3的建立程序。於此實施例中,其第一外部操作、第二外部操作與第三外部操作與前述實施例相近似,於此不再贅述。
In other embodiments, the user can also operate the touch screen or touch pad of the computer device to execute the continuous
若於步驟S22中判斷接受了使用者的第三外部操作而離開了編輯模式,編輯器即時產生連接前述起始節點以及所有已連接節點的連續垂直線3(步驟S24),並且,進一步依據連續垂直線3來修改圖形1上的複數元件區塊2的串/並聯關係,同時更新圖形1並重新顯示(步驟S26)。
If it is determined in step S22 that the user’s third external operation is accepted and the editing mode is left, the editor instantly generates a continuous
值得一提的是,於上述步驟S24及步驟S26中,編輯器主要是於佇列中取得暫存的起始節點以及一或多個已連接節點,並且依據這些節點來建立所述連續垂直線3。並且,編輯器同時依據這些暫存於佇列中的節點來修改複數元件區塊2的串/並聯關係並更新圖形1(容後詳述)。
It is worth mentioning that in the above steps S24 and S26, the editor mainly obtains the temporarily stored starting node and one or more connected nodes in the queue, and establishes the continuous vertical line based on these
請同時參閱圖3A至圖3G,分別為本發明的連續垂直線的第二具體實施例的第一建立動作圖至第七建立動作圖。圖3A至圖3G是以使用者藉由對滑鼠的單次操作來建立一條連續垂直線為例,進行說明,但不以此為限。 Please refer to FIGS. 3A to 3G at the same time, which are respectively the first establishment action diagram to the seventh establishment operation diagram of the second embodiment of the continuous vertical line of the present invention. FIGS. 3A to 3G are taken as an example for the user to create a continuous vertical line through a single operation of the mouse, but not limited to this.
首先如圖3A所示,使用者可先操作編輯器提供的編輯工具(圖未標示),以將所需數量、形態的複數元件區塊2添加至圖形1中。於圖3A的實施例中,圖形1中初始包含由元件區塊B0、B1、B2、B3組成的第一串聯群組,由元件區塊B4、B5、B6、B7組成的第二串聯群組,由元件區塊B8、B9、B10、B11組成的第三串聯群組及由元件區塊B12、B13、B14、B15組成的第四串聯群組。並且,第一串聯群組、第二串聯群組、第三串聯群組及第四串聯群組彼此並聯。
First, as shown in FIG. 3A, the user can first operate the editing tool (not shown in the figure) provided by the editor to add the required number and form of plural component blocks 2 to the
如圖3A所示,各個元件區塊2於串聯連接處具有端點L0~L11。本發明中,使用者可以從圖形1的端點L0~L11中選擇連續垂直線3的起始節點,並且編輯器是由複數端點L0~L11中計算符合條件的一或多個候選節點。換句話說,本發明的編輯方法可有效避免使用者誤將連續垂直線3建立在元件區塊2上而造成線路錯誤。
As shown in FIG. 3A, each
接著如圖3B所示,使用者可操作電腦設備的滑鼠以控制畫面中的指標,將游標停留在任一端點上,並且按著滑鼠按鍵(以左鍵為例),以將此端點轉換為起始節點41。於本實施例中,使用者是選擇端點L0做為起始節點41,因此,編輯器將端點L0記錄於佇列Q中。
Then, as shown in Figure 3B, the user can operate the mouse of the computer device to control the pointer on the screen, hover the cursor on any endpoint, and press the mouse button (take the left button as an example) to this endpoint Converted to start
當使用者選擇了一個起始節點41後,持續按著滑鼠按鍵並進行拖曳,以將指標朝下移動並令移動距離大於一個門檻值,此時將觸發編輯器計算起始節點41下方的一或多個有效的候選節點42,並且加以顯示。
When the user selects a starting
於一實施例中,編輯器是以實線點顯示起始節點41,並以虛線點顯示候選節點42。於另一實施例中,編輯器是以相異的顏色分別顯示起始節點41與候選節點42。藉此,令使用者可以快速區分兩種節點。
In one embodiment, the editor displays the starting
接著如圖3C所示,使用者持續拖曳指標並移動至其中一個候選節點42(圖3C中以端點L4為例)上,此時編輯器將這個候選節點42(即,端點L4)添加至佇列Q中,並將此候選節點42轉換為已連接節點43。並且,當使用者自這個已連接節點43繼續朝下移動並且移動距離大於門檻值時,即觸發編輯器計算這個已連接節點43下方的一或多個有效的候選節點42,並且加以顯示。
Then, as shown in FIG. 3C, the user continues to drag the pointer and moves to one of the candidate nodes 42 (the endpoint L4 is taken as an example in FIG. 3C). At this time, the editor adds this candidate node 42 (ie, the endpoint L4) Go to the queue Q, and convert this
於一實施例中,編輯器是以實線點顯示已連接節點43。於另一實施例中,編輯器是以相異於候選節點42的顏色來顯示已連接節點43,例如,以
藍色顯示已連接節點43,並以綠色顯示候選節點42。於又一實施例中,編輯器以相同的顏色或形狀顯示起始節點41與已連接節點43。
In one embodiment, the editor displays the
接著如圖3D所示,使用者可持續拖曳指標,並令指標依序連接至多個候選節點42,以將多個候選節點42轉換為已連接節點43。
Then, as shown in FIG. 3D, the user can continue to drag the indicator and connect the indicator to the
並且,如圖3C及圖3D所示,當使用者藉由拖曳指標而連接了兩個節點後,編輯器於圖形1上顯示連接這兩個節點的預連接線5,以令使用者可快速查看目前的連接狀況。
And, as shown in Figure 3C and Figure 3D, when the user connects the two nodes by dragging the pointer, the editor displays the
於圖3D的實施例中,使用者是拖曳指標由端點L0出發,並依序經過端點L4、端點L6及端點L11。因此,編輯器會將端點L0做為起始節點41,依序將端點L4、端點L6及端點L11轉換為已連接節點43,並且依序將端點L0、端點L4、端點L6及端點L11添加至佇列Q中。當使用者釋放滑鼠按鍵使得編輯器離開編輯模式時,編輯器可基於佇列Q中記錄的複數端點來建立所述連續垂直線。
In the embodiment of FIG. 3D, the user drags the pointer from the end point L0, and passes through the end point L4, the end point L6, and the end point L11 in sequence. Therefore, the editor will use the end point L0 as the starting
如圖3E所示,當使用者釋放滑鼠按鍵時,編輯器會認定使用者結束編輯(即,離開編輯模式)。此時,編輯器取得佇列Q前方的兩個端點(即,端點L0與端點L4),並移除佇列Q最前方的一個端點(即,端點L0)。 As shown in FIG. 3E, when the user releases the mouse button, the editor will recognize that the user has finished editing (that is, leaving the editing mode). At this time, the editor obtains the two end points in front of the queue Q (that is, the end point L0 and the end point L4), and removes the front end of the queue Q (that is, the end point L0).
接著,編輯器以端點L0與端點L4建立第一切割線31,將第一切割線31的起點(即端點L0)左方的一或多個元件區塊2做為左方第一群組,將第一切割線31的起點的右方的一或多個元件區塊2做為右方第一群組,將第一切割線31的終點(即端點L4)的左方的一或多個元件區塊2做為左方第二群組,將第一切割線31的終點的右方的一或多個元件區塊2做為右方第二群組。並且,
編輯器將左方第一群組與左方第二群組進行並聯,將右方第一群組與右方第二群組進行並聯,最後再藉由第一切割線31將兩個並聯結果進行串聯。
Next, the editor establishes the
如上所述,由於編輯器移除了佇列Q中最前方的一個端點(即,端點L0),因此在第一切割線31建立後,佇列Q中僅剩下端點L4、端點L6及端點L11。
As mentioned above, since the editor has removed the frontmost end point (ie, end point L0) in the queue Q, after the
接著,如圖3F所示,編輯器再次取得佇列Q前方的兩個端點(即,端點L4與端點L6),並移除佇列Q最前方的一個端點(即,端點L4)。 Then, as shown in Figure 3F, the editor again obtains the two end points in front of the queue Q (ie, the end point L4 and the end point L6), and removes the front end of the queue Q (ie, the end point L4).
接著,編輯器以所取得的端點L4與端點L6建立第二切割線32,並且依據與上述相同的程序來更新多個元件區塊2的串/並聯關係。由於編輯器移除了佇列Q中最前方的一個端點(即,端點L4),因此在第二切割線32建立後,佇列Q中僅剩下端點L6及端點L11。
Then, the editor establishes the
如圖3G所示,編輯器在第二切割線32建立後再次取得佇列Q前方的兩個端點(即,端點L6與端點L11),並移除佇列Q最前方的一個端點(即,端點L6)。
As shown in FIG. 3G, after the
接著,編輯器以所取得的端點L6與端點L11建立第三切割線33,並且依據與上述相同的程序來更新多個元件區塊2的串/並聯關係。
Then, the editor establishes a
如上所述,由於編輯器在建立第三切割線33時移除了佇列Q中最前方的一個端點(即,端點L6),因此在第三切割線33建立後,佇列Q中只剩下單一個端點L11。由於單一個端點無法構成一條切割線,因此編輯器會結束切割線的建立程序,並且將佇列Q中的最後一個端點L11做為連續垂直線3的結束節點。藉此,編輯器可以依據前述第一切割線31、第二切割線32及第三切割線33來構成使用者所需的連續垂直線3。
As mentioned above, since the editor removed the frontmost end of the queue Q (that is, the end point L6) when creating the
通過本發明的技術方案,使用者可以藉由在編輯模式中的單一次操作(例如在按下滑鼠左鍵至釋放滑鼠左鍵之間所進行的操作)即建立一條跨越多個節點的連續垂直線3,對於使用者的繪製行為來說實為便利。
Through the technical solution of the present invention, the user can create a continuous line spanning multiple nodes with a single operation in the edit mode (for example, the operation from pressing the left mouse button to releasing the left mouse button)
續請參閱圖4,為本發明的第一具體實施例的垂直線退回示意圖。於建立連續垂直線3的過程中(即,仍處於編輯模式中),使用者可以隨時控制指標往回移動(即,朝起始節點41的方向移動)。當編輯器判斷指標朝起始節點41的方向移動並且離開一個已連接節點43時,會如圖4所示,將這個已連接節點43轉換成候選節點42,並且與其他的有效候選節點42一起顯示於圖形1上。
Please continue to refer to FIG. 4, which is a schematic diagram of the vertical line retracting in the first specific embodiment of the present invention. During the process of establishing the continuous vertical line 3 (ie, still in the editing mode), the user can control the pointer to move back (ie, move toward the starting node 41) at any time. When the editor judges that the indicator moves in the direction of the starting
如前文所述,當一個候選節點42被轉換為已連接節點43時,編輯器會將這個已連接節點43(例如端點L11)加入佇列Q中。而當使用者退回指標而使這個已連接節點43轉換為候選節點42時,編輯器會將這個候選節點42(例如端點L11)從佇列Q中移動。藉此,可給予使用者更大的繪製彈性。
As mentioned above, when a
續請參閱圖5A至圖5C,分別為本發明的第二具體實施例的編輯流程圖第一部分、編輯流程圖第二部分及編輯流程圖第三部分。下面將結合圖3A至圖3G進一步說明本發明的編輯方法的具體編輯步驟。 Please continue to refer to FIGS. 5A to 5C, which are the first part of the editing flowchart, the second part of the editing flowchart, and the third part of the editing flowchart of the second specific embodiment of the present invention, respectively. The specific editing steps of the editing method of the present invention will be further described below in conjunction with FIGS. 3A to 3G.
首先,編輯器接受使用者的第一外部操作以進入編輯模式(步驟S30)。於一實施例中,所述第一外部操作是由使用者持續按著電腦設備的滑鼠的按鍵。於另一實施例中,所述第一外部操作是由使用者按壓電腦設備的鍵盤的特殊功能鍵。 First, the editor accepts the user's first external operation to enter the editing mode (step S30). In one embodiment, the first external operation is by the user continuously pressing the mouse button of the computer device. In another embodiment, the first external operation is a user pressing a special function key of the keyboard of the computer device.
於編輯模式中,編輯器依據使用者的操作而於圖形1上選擇任一個元件區塊2的端點,以做為起始節點41(步驟S32)。於一實施例中,編輯器可
將接受前述第一外部操作時,電腦設備的指標(例如滑鼠的游標)所在位置上的端點做為起始節點41,但不加以限定。
In the editing mode, the editor selects the endpoint of any
於確定了起始節點41後,編輯器清除佇列Q中的所有節點(步驟S34)。接著,編輯器接受使用者的第二外部操作而令指標自起始節點41開始移動,並且計算移動距離(步驟S36)。於一實施例中,所述第二外部操作是由使用者移動電腦設備的滑鼠進行拖曳,以移動所述指標。於另一實施例中,所述第二外部操作是由使用者按壓電腦設備的鍵盤的方向鍵,以移動所述指標。
After determining the starting
步驟S36後,編輯器進一步判斷移動距離是否大於預設的門檻值(步驟S38)。若移動距離沒有大於門檻值,編輯器不做任何動作,並且於離開編輯模式前重覆執行上述步驟。若移動距離大於門檻值,則編輯器將起始節點41添加至佇列Q中(步驟S40)。具體地,於步驟S40中,編輯器是將起始節點41所在位置的端點的編號由佇列Q的後方添加至佇列Q中,並且將起始節點41視為指標的當前節點。
After step S36, the editor further determines whether the moving distance is greater than a preset threshold (step S38). If the moving distance is not greater than the threshold value, the editor will not take any action and repeat the above steps before leaving the editing mode. If the moving distance is greater than the threshold value, the editor adds the
本實施例中,編輯器還可基於使用者的第二外部操作來判斷指標自當前節點出發的移動方向,即,判斷指標是朝上移動還是朝下移動(步驟S42)。若指標受使用者的操作而朝向當前節點的下方移動(並且移動距離大於門檻值),則編輯器僅計算並顯示當前節點下方的一或多個有效候選節點42(步驟S44)。反之,若指標受使用者的操作而朝向當前節點的上方移動(並且移動距離大於門檻值),則編輯器僅計算並顯示當前節點上方的一或多個有效候選節點42(步驟S46)。
In this embodiment, the editor may also determine the direction of movement of the indicator from the current node based on the user's second external operation, that is, determine whether the indicator moves upward or downward (step S42). If the indicator moves below the current node by the user's operation (and the moving distance is greater than the threshold value), the editor only calculates and displays one or more
如前文所述,本發明中編輯器會判斷由當前節點連接至一個端點後,是否會造成任一元件區塊2短路,並且於不會有短路現象發現時,判斷這個端點為有效的候選節點42。
As mentioned above, the editor in the present invention will determine whether any
編輯器持續判斷是否接受使用者請求離開編輯模式的第三外部操作(步驟S48)。於一實施例中,所述第三外部操作是由使用者釋放電腦設備的滑鼠的按鍵。於另一實施例中,所述第三外部操作是由使用者再次按壓電腦設備的鍵盤的特殊功能鍵。若尚未接受所述第三外部操作,則編輯器接著執行如圖5B所示的各步驟。若接受了所述第三外部操作而需要離開編輯模式,則編輯器接著執行如圖5C所示的各步驟。 The editor continues to determine whether to accept the third external operation requested by the user to leave the editing mode (step S48). In one embodiment, the third external operation is the user releasing the mouse button of the computer device. In another embodiment, the third external operation is that the user presses the special function key of the keyboard of the computer device again. If the third external operation has not been accepted, the editor then executes the steps shown in FIG. 5B. If the third external operation is accepted and the editing mode needs to be left, the editor then executes the steps shown in FIG. 5C.
如圖5B所示,編輯器判斷使用者是否藉由所述第二外部操作移動指標,並令指標停留(hover)在任一候選節點42上(步驟S50)。若使用者令指標移動並停留於任一候選節點42上,則編輯器將這個候選節點42加入佇列Q中,以將這個候選節點42轉換為已連接節點43(步驟S52)。反之,若指標沒有停留在任何候選節點42上,則編輯器不執行任何動作。
As shown in FIG. 5B, the editor determines whether the user moves the indicator through the second external operation, and makes the indicator hover on any candidate node 42 (step S50). If the user causes the indicator to move and stay on any
具體地,於步驟S52中,編輯器是在所述指標受使用者的操作而停留於一個候選節點42上時,將這個候選節點42所在位置的端點的編號從佇列Q的後方加入佇列Q中,以將這個候選節點42記錄為已連接節點43。
Specifically, in step S52, when the indicator stays on a
並且,編輯器還判斷所述指標是否受使用者的操作而往回移動並且離開任一已連接節點43(步驟S54)。當判斷指標往回移動(即,朝向起始節點41的方向移動)並離開一個已連接節點43時,編輯器將這個已連接節點43恢復成候選節點42,並且從佇列Q的後方將這個候選節點42從佇列Q中移除(步驟S56)。
In addition, the editor also determines whether the indicator is moved back and left any
具體地,於步驟S56中,編輯器是將所述候選節點42所在位置的端點的編號從佇列Q中移動。
Specifically, in step S56, the editor moves the number of the endpoint where the
並且,於尚未離開編輯模式時,編輯器返回步驟S42,以藉由使用者的第二外部操作來持續計算與顯示目前可供連接的候選節點42、將指標經過的候選節點42轉換為已連接節點43、並將指標沒有經過的已連接節點43恢復成候選節點42。
And, before leaving the editing mode, the editor returns to step S42 to continuously calculate and display the
接著如圖5C所示,若編輯器依據使用者的第三外部操作離開了編輯模式,則編輯器先取得佇列Q,並判斷佇列Q中記錄的節點的數量是否大於1(步驟S58)。本發明中,若佇列Q中記錄的節點的數量大於1,即,至少兩個節點,則編輯器可以依據這兩個節點來建立如圖3E-圖3G所示的切割線31-33。若佇列Q中記錄的節點的數量不大於1,即,僅有一個節點或是不存在任何節點,則編輯器結束連續垂直線的建立程序。 Next, as shown in FIG. 5C, if the editor leaves the editing mode according to the user's third external operation, the editor first obtains the queue Q, and determines whether the number of nodes recorded in the queue Q is greater than 1 (step S58) . In the present invention, if the number of nodes recorded in the queue Q is greater than 1, that is, at least two nodes, the editor can establish the cutting lines 31-33 as shown in FIGS. 3E-3G based on these two nodes. If the number of nodes recorded in the queue Q is not greater than 1, that is, there is only one node or there is no node, the editor ends the continuous vertical line creation process.
若於步驟S58中判斷為是,則編輯器取得佇列Q最前方的兩個節點,並且移除佇列Q最前方的一個節點(步驟S60)。具體地,編輯器在步驟S60中是以peek指令查看佇列Q中最前方的兩個節點,以做為所述切割線的起點與終點,並且以pop指令來移除佇列Q最前方的一個節點,以將當前切割線的終點做為下一條切割線的起點,或做為連續垂直線的結束節點。 If the determination in step S58 is YES, the editor obtains the two front nodes of the queue Q, and removes the front node of the queue Q (step S60). Specifically, in step S60, the editor uses the peek command to view the front two nodes in the queue Q as the starting point and the end point of the cutting line, and uses the pop command to remove the frontmost node in the queue Q. A node, with the end point of the current cutting line as the starting point of the next cutting line, or as the end node of a continuous vertical line.
步驟S60後,編輯器依據所取得的兩個節點建立一條切割線,將切割線的起點的左方的一或多個元件區塊2規劃為左方第一群組,將切割線的起點的右方的一或多個元件區塊2規劃為右方第一群組,將切割線的終點的左方的一或多個元件區塊2規劃為左方第二群組,並將切割線的終點的右方的一或多個元件區塊2規劃為右方第二群組(步驟S62)。換句話說,編輯器在步驟S62中是依據切割線的起點與終點,將圖形1上的串聯區塊(Continue blocks)區分別左、右兩個群組。
After step S60, the editor establishes a cutting line according to the obtained two nodes, and plans one or more component blocks 2 on the left of the starting point of the cutting line as the first group on the left, and sets the starting point of the cutting line The one or more component blocks 2 on the right are planned as the first group on the right, and the one or more component blocks 2 on the left at the end of the cutting line are planned as the second group on the left, and the cutting line One or more component blocks 2 on the right of the end point of is planned as the second group on the right (step S62). In other words, in step S62, the editor divides the Continue blocks on the
步驟S62後,編輯器進一步將所述左方第一群組與所述左方第二群組進行並聯,以產生第一並聯群組(步驟S64),並且,將所述右方第一群組與所述右方第二群組進行並聯,以產生第二並聯群組(步驟S66)。 After step S62, the editor further connects the left first group and the left second group in parallel to generate a first parallel group (step S64), and connects the right first group The group is connected in parallel with the second group on the right to generate a second parallel group (step S66).
具體地,於步驟S64中,編輯器是以左方第一群組以及左方第二群組的共同起始點(圖形1的最左方)與所述切割線為基礎,將左方第一群組與左方第二群組進行並聯以產生新的並聯群組(Branch blocks)。而於步驟S66中,編輯器則是以所述切割線與右方第一群組以及右方第二群組的共同結束點(圖形1的最右方)為基礎,將右方第一群組與右方第二群組進行並聯以產生新的並聯群組。 Specifically, in step S64, the editor is based on the common starting point of the first group on the left and the second group on the left (the leftmost side of the graph 1) and the cutting line, and the first group on the left One group is connected in parallel with the second group on the left to generate a new parallel group (Branch blocks). In step S66, the editor is based on the common end point of the cutting line and the first group on the right and the second group on the right (the far right of the graph 1), and the first group on the right The group is connected in parallel with the second group on the right to generate a new parallel group.
步驟S66後,編輯器再基於所述切割線,進一步將所述第一並聯群組與第二並聯群組進行串聯,以產生新的串聯群組(步驟S68)。 After step S66, the editor further connects the first parallel group and the second parallel group in series based on the cutting line to generate a new series group (step S68).
接著,編輯器返回步驟S58,以判斷在上述切割線產生後,佇列Q中剩餘的節點的數量是否仍大於1。若佇列Q中的節點的數量仍大於1,則編輯器再次執行步驟S60至步驟S68,以產生下一條切割線。若佇列Q中的節點的數量不大於1,則編輯器依據所產生的一或多個新的串聯群組來修改圖形1中的複數元件區塊2的串/並聯關係,並且更新圖形1後重新顯示(步驟S70)。
Then, the editor returns to step S58 to determine whether the number of nodes remaining in the queue Q is still greater than one after the above-mentioned cutting line is generated. If the number of nodes in the queue Q is still greater than 1, the editor executes steps S60 to S68 again to generate the next cutting line. If the number of nodes in the queue Q is not greater than 1, the editor will modify the series/parallel relationship of the
前述實施例主要是以使用者操作電腦設備的滑鼠來控制編輯器中的指標為例,進行說明。惟,如前文所述,本發明的編輯方法亦可通過電腦設備的鍵盤來實現。 The foregoing embodiment is mainly described by taking the user operating the mouse of the computer device to control the indicators in the editor as an example. However, as mentioned above, the editing method of the present invention can also be implemented by the keyboard of a computer device.
參閱圖6A至圖6D,分別為本發明的連續垂直線的第三具體實施例的第一建立動作圖至第四建立動作圖。 Referring to FIGS. 6A to 6D, they are respectively the first establishment action diagram to the fourth establishment action diagram of the third embodiment of the continuous vertical line of the present invention.
首先如圖6A所示,於進入編輯模式後,使用者可操作鍵盤的方向鍵,以移動編輯器中的指標,並選擇多個端點的其中之一做為起始節點61。於使用者選擇了一個起始節點61後,編輯器可經過計算而顯示這個起始節點61周圍的一或多個有效的候選節點62。其中,起始節點61與候選節點62分別以不同的顏色、形狀加以表示。
First, as shown in FIG. 6A, after entering the editing mode, the user can operate the arrow keys of the keyboard to move the pointer in the editor and select one of the multiple endpoints as the starting
接著,如圖6B與圖6C所示,使用者可通過鍵盤的方向鍵移動所述指標,以將指標由起始節點61移動至任一候選節點62,編輯器會於指標停留於任一候選節點62上時將這個候選節點62轉換為已連接節點63,並且於兩個節點61、63間產生一條預連接線7。當一個候選節點62被轉換為已連接節點63時,編輯器進一步計算並顯示這個已連接節點63周圍的一或多個有效的候選節點62。
Then, as shown in FIGS. 6B and 6C, the user can move the pointer through the arrow keys of the keyboard to move the pointer from the
最後,如圖6D所示,當使用者藉由鍵盤發出指令,以控制編輯器離開編輯模式時,編輯器依據起始節點61與一或多個已連接節點63來產生連續垂直線8,並且依據連續垂直線8來修改圖形1中的複數元件區塊的串/並聯關係,同時更新圖形1並且重新顯示。
Finally, as shown in FIG. 6D, when the user issues an instruction through the keyboard to control the editor to leave the editing mode, the editor generates a continuous
通過本發明的上述技術方案,使用者只需要藉由滑鼠、鍵盤或觸控板等設備執行單一次的操作,就可以直接在圖形中建立一條連續垂直線,藉此快速地修改多個元件區塊之間的連接關係。有鑑於此,使用者可以更有效益、更方便地使用圖形程式語言的編輯器。 Through the above technical solution of the present invention, the user only needs to perform a single operation with a mouse, keyboard or touchpad, etc., and can directly create a continuous vertical line in the graph, thereby quickly modifying multiple components The connection between the blocks. In view of this, users can use graphical programming language editors more efficiently and conveniently.
以上所述僅為本發明之較佳具體實例,非因此即侷限本發明之專利範圍,故舉凡運用本發明內容所為之等效變化,均同理皆包含於本發明之範圍內,合予陳明。 The above are only preferred specific examples of the present invention, and are not limited to the scope of the patent of the present invention. Therefore, all equivalent changes made by using the content of the present invention are included in the scope of the present invention in the same way. bright.
S10~S26:編輯步驟 S10~S26: Editing steps
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108141503A TWI738113B (en) | 2019-11-15 | 2019-11-15 | Method for continually editing vertical lines of visual programming language |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108141503A TWI738113B (en) | 2019-11-15 | 2019-11-15 | Method for continually editing vertical lines of visual programming language |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202121164A TW202121164A (en) | 2021-06-01 |
TWI738113B true TWI738113B (en) | 2021-09-01 |
Family
ID=77517022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108141503A TWI738113B (en) | 2019-11-15 | 2019-11-15 | Method for continually editing vertical lines of visual programming language |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI738113B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009259082A (en) * | 2008-04-18 | 2009-11-05 | Koyo Electronics Ind Co Ltd | Ladder diagram editing system |
US20110295388A1 (en) * | 2009-02-04 | 2011-12-01 | Mitsubishi Electric Corporation | Ladder program edition device |
TW201204902A (en) * | 2010-02-01 | 2012-02-01 | Kohler Co | Systems and methods for providing a programmable shower interface |
JP4879134B2 (en) * | 2007-10-18 | 2012-02-22 | 光洋電子工業株式会社 | Ladder diagram editing method |
US20120291005A1 (en) * | 2011-05-12 | 2012-11-15 | Google Inc. | Compilation and Injection of Scripts in a Rapid Application Development |
CN103559727A (en) * | 2013-11-20 | 2014-02-05 | 北京四方继保自动化股份有限公司 | Ladder diagram data structural description and scanning analytic method |
TW201435528A (en) * | 2013-03-07 | 2014-09-16 | Mitsubishi Electric Corp | Ladder program display program and ladder program display device |
-
2019
- 2019-11-15 TW TW108141503A patent/TWI738113B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4879134B2 (en) * | 2007-10-18 | 2012-02-22 | 光洋電子工業株式会社 | Ladder diagram editing method |
JP2009259082A (en) * | 2008-04-18 | 2009-11-05 | Koyo Electronics Ind Co Ltd | Ladder diagram editing system |
US20110295388A1 (en) * | 2009-02-04 | 2011-12-01 | Mitsubishi Electric Corporation | Ladder program edition device |
TW201204902A (en) * | 2010-02-01 | 2012-02-01 | Kohler Co | Systems and methods for providing a programmable shower interface |
US20120291005A1 (en) * | 2011-05-12 | 2012-11-15 | Google Inc. | Compilation and Injection of Scripts in a Rapid Application Development |
TW201435528A (en) * | 2013-03-07 | 2014-09-16 | Mitsubishi Electric Corp | Ladder program display program and ladder program display device |
CN103559727A (en) * | 2013-11-20 | 2014-02-05 | 北京四方继保自动化股份有限公司 | Ladder diagram data structural description and scanning analytic method |
Non-Patent Citations (1)
Title |
---|
張宥凱、張榮洲、邱創標,可程式控制器PLC應用,第2章可程式控制器軟體編輯與操作教材投影片(http://webftp.nkut.edu.tw/~079129/1072/%E6%95%99%E6%9D%90/PLC/PPT/CH02.ppt,2018年9月19日上傳),新文京開發出版(股),出版日2018年6月15日 * |
Also Published As
Publication number | Publication date |
---|---|
TW202121164A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8234568B2 (en) | Selecting image arrangement regions based on number of users | |
KR101470264B1 (en) | Two-dimensional slider control | |
JP3632523B2 (en) | Performance data editing apparatus, method and recording medium | |
US8751491B2 (en) | System and method for recommending next commands when using a software application | |
CA2795183C (en) | Temporary formatting and charting of selected data | |
JP2002512390A (en) | How to manage objects and parameter values associated with objects in a simulation model | |
JP5527521B2 (en) | Hierarchical display device, hierarchical structure display method, and hierarchical structure display control program | |
JP2001524710A (en) | How to access object parameters in a simulation model | |
US12113873B2 (en) | Techniques for analyzing the proficiency of users of software applications in real-time | |
TWI738113B (en) | Method for continually editing vertical lines of visual programming language | |
JP2007011532A (en) | Automatic generation device of operating procedure manual | |
CN112817510B (en) | Vertical line continuous editing method for graphic program language | |
JP6922431B2 (en) | Program development support device, program development support method, and program development support program | |
TW201413517A (en) | Display system and method for controlling display | |
CN106681607A (en) | Method for managing folders and mobile terminal | |
CN107315724A (en) | A kind of tree-like grid control based on actionscript | |
US9984503B2 (en) | Systems and methods of updating graphical objects | |
CN112817974B (en) | Multi-layer list head control method for list control | |
KR102094478B1 (en) | Method and apparatus of controlling display using control pad, and server that distributes computer program for executing the method | |
JP3239292B2 (en) | Figure specification control method for figure editing system | |
JP2013125424A (en) | Symbol generating device for graphic screen | |
TW201935278A (en) | System and method for making widget based on template | |
JP5311379B2 (en) | Design support system and design support method | |
Migliari | I fondamenti geometrici della progettazione | |
JP2002229785A (en) | Gui(graphical user interface) design support device, method, and program |