Drakon Book : Chapter 14 [English Translation]

Chapter 14

Page HistoryLast edited by PBworks 8 years, 5 months ago

DRAGON-VISUAL EDITOR

Mastering the technique of visualization of scientific and technical information, the ability to present it in a clear and simple design are of great importance.

Valery Venda

WHY THE DRAGON editor?

Of course, in case of extreme need dragon diagram can be drawn by hand. However, this is not the best way. It is much more convenient to use a special program called “Dragon Editor.” If you need to create a dragon program manual drawing generally excluded. Without DRAGON DRAGON editor to enter into the computer program can not be

The composition includes online grafoelementov menu (Fig. 114). To draw a dragon-circuit, the user first brings up a menu on the screen of a personal computer, and then use it to draw, or, as they say, Design dragon pattern. An important role is played by the so-called blank.

PRIMITIVE AND STORAGE, STORAGE silhouette

To grow a huge tree, you need to throw in the ground a small seed. Any any number of complex dragon scheme also grows out of the “seed”, which is called the workpiece. The blanks are of two varieties: one is used to build the dragon-circuit “primitive”, it turns out the silhouette of another (Fig. 115).

Generally speaking, both the workpiece should be placed in the menu. However, in order to save, use the following method: the menu is just one of them – the blank silhouette (Fig. 114, top left), and the blank-entity obtained from it as a result of a simple operation, the disclosure of which we have omitted for brevity.

Construction of any dragon scheme is performed in a finite number of steps selected by the corresponding transformations of the workpiece.

What is an atom?

Menu item in Fig. 114 is called an atom when it has two vertical ridge.

DRAGON editor can perform several operations, including the important role played by the team “putting the atom” (Fig. 116). The operation is performed in two steps: first, the user selects the desired atom from the menu, then turns to the dragon pattern and indicates the point at which you need to enter it.

Atoms are not inserted anywhere, but only in the permitted places that are called valence points dragon scheme. The list includes points:

  • valence point workpieces (marked in Fig. 115);
  • makroikon valence point (marked in Fig. 2);
  • Inputs and outputs atoms.

Entering the atom is made as follows: there is a break in the connecting line selected by the user valence point, after which the fracture is inserted atom, as shown in Fig. 116.

In real dragon schemes stretching points are not displayed, but implied.

EXAMPLE OF CONSTRUCTION OF THE DRAGON diagram “PRIMITIVE”

The dragon scheme is based on the computer screen by the “assembly of the cubes.” To see how this is done, draw the diagram shown in Fig. 117. At the beginning of the user calls the screen visual menu (Fig. 114) and places it in a comfortable place, such as in the top right corner of the screen. The rest of the screen is used as a work area for the construction of a dragon diagram.

The scheme, which we want to build (Fig. 117) – is primitive. So first of all should be placed in the working field blank-primitive. To this end the first step of constructing a graphical user accesses menu brings the cursor to makroikone “billet silhouette”, converts it into a workpiece, and copies the last primitive in the working area of ​​the screen (Fig. 118, step 1). In the second step, the user calls the menu icon of the “action”. But where to put it? The user moves the cursor to the work area and indicates a point-blank in the entity in which you want to break the connection line to insert a gap in the selected icon. The result of operation is seen in the figure (Fig. 118, step 2).

The next two steps are performed the same way: in dragon scheme introduced another icon of the “action” and makroikona “switch” (Fig. 118, steps 3 and 4).

The following operation is “add options”, performed without recourse to the menu. With the help of modified makroikona “switch”, to which is added another icon of the “option” (Fig. 118, step 5).

Follow the progress of construction is clear from Fig. 118 (steps 6-8). After the graphic pattern (mole rat) Dragon scheme built is filled it with text. The final result of the editor is shown in Fig. 117.

OPERATION “TRANSFER creeper”

Monkey sitting on a tree, caught hanging down from above vine. However, the lower part of the trunk of vines rooted not budge. Monkey gnawed her teeth, clung to the end and instantly flew to a nearby tree where tightly tied to the vine branch.

Something like that is able to do, and Dragon Editor. The role played by the upper end of the vines yield Icons “issue” or “variant”. Liana – is attached to it a sequence of blocks skewer or just the trunk. Under certain conditions (described in detail in the next chapter), the lower end of the vines can be torn from its place and attach to another point dragon scheme. This is called a transplant vines.

This operation does not require recourse to the menu, and carried out in two stages. First, the cursor is brought to the lower end of the vines, which the user wishes to release (Fig. 119, left graph). But where to connect? The user selects the desired point and marks it with the mouse (Fig. 119, the middle of the graph). The result of the operation “trains creeper” is shown in the same figure in the right column.

Many dragon scheme presented in this book, built with the help of transplant vines. We mention some of them: Fig. 26b, 27b, 40, 41, 42, 57c, 60b, 67-74.

OPERATION “EARTH creeper”

The “grafting vines” is universal in the sense that it applies to the primitive, and silhouette. In contrast, the operation ofground creepers applies only to the silhouette. It serves to build the branches with multiple outputs (multicast branches).You must organize a branch branching (using makroikon “fork” or “switch”), then tear off the vine attached to them from the same place and attach it via the icon “address” to the bottom horizontal line of the silhouette, “ground” her.

Operation “ground creeper” in two stages, without recourse to the menu. The first stage (the lower end of the gap vines from its place) is exactly the same as in the transplant vine (Fig. 120, left graph). In the second step, the user brings the cursor to the bottom line of the silhouette, pointing point where vine can reach without crossing other lines (Fig. 120, the average of the graph). This action automatically creates the appearance of the icon in the right place, “address”, through which the vine and is joined to the bottom line (Fig. 120, right-hand graph).

Grounding vines used to construct a multicast tree branches silhouettes, for example, in Fig. 4, 6a, 51-54, 84, 88, 89.

EXAMPLE OF CONSTRUCTION PROGRAM dragon “Silhouette”

We construct a visual program shown in Fig. 96. The first step in designing a user accesses the menu calls to the operating field blank silhouette (Fig. 121, Step 1). In the next step using the “add branch” (which is performed without referring to navigation) it modifies the preform, inserting a silhouette another branch (Fig. 121, step 2). The further course of construction is clear from the figure: in steps 3-8, 10-13 implemented operation “entering the atom” in step 9 – “ground vines.” Graphic design ends at obtaining the desired mole rat (Fig. 121, step 13).

Then icons of text written statements, after which visual program gets the final form shown in Fig. 96. This program can be executed by the interpretation or broadcast object code.

FORMATION the “Yes” and “no”

Returning to the discussion of Fig. 121, and a closer look at step 13, which ends the graphical construction dragon scheme and as a result appears on the screen mole rat. The fact that the finished drawing, mole rat, formed when the real work DRAGON editor is opposed to abstract dragon circuit shown in Fig. 97. The latter is completely devoid of text (contains no letters or numbers), and mole rats editor built next to each icon “question” necessarily has the inscription “yes” and “no.”These inscriptions appear on the Dragon circuit whenever a menu item with an icon called “question” in the course of operation “entering the atom.” According to the algorithm of this operation editor writes “yes” at the bottom outlet of the icon “question” and “no” – on the right. To the user, if necessary, could swap them, the editor provides the operation “yes-no”. The use of the latter to a particular icon, “the question” leads to the fact that the words “yes” and “no” at its outputs are swapped (with all other elements of the dragon scheme remain in place).

CONCLUSIONS

  1. Although the total number of icons and makroikon language DRAGON is 45, for the construction of any dragon scheme is sufficient to have a small menu containing all 18 grafoelementov.
  2. Visual menu greatly facilitates the user’s work – it gives the opportunity to design a dragon scheme by the “assembly of the dice.” For this purpose operation “entering the atom,” which allows to get “cubes” from the menu and put them in the projected dragon diagram.
  3. Other operations (“grafting vines”, “ground creepers”, and so on. D.) Are allowed to contribute to the scheme logic components and “decoration”, expand its functionality and improve ergonomics.
  4. The algorithms DRAGON editor a full set of rules of visual syntax, which frees the user from having to remember syntax rules in detail.
  5. DRAGON editor creates only well-formed schemes and eliminates the possibility of prohibited schemes. It follows that when working with a dragon-visual syntax errors editor fundamentally impossible.

Attachments

Leave a comment

Your email address will not be published. Required fields are marked *


+ six = 8

Leave a Reply