Graphical Objects in Marvin JS

Draw Graphical Boxes

To draw a shape, choose the Rectangle or Ellipse tool, then drag the mouse cursor until the shape reaches the desired size.

Gray feedback shows what the box will look like.

images/download/attachments/1802858/Draw_Graphical_Objects.png

images/download/attachments/1802858/Draw_Graphical_Objects_2.png

Change the Properties of Graphical Boxes

Color

The color of the background and the line can be changed by opening the Set box color dialog through the context menu.

Choose the appropriate colors from the lists. images/download/attachments/1802858/Graphical_Boxes_Change_Color.png

Size

You can easily resize your structure.

Left-click on one of the control points of the rectangle/ellipse and, without releasing the mouse button, drag the line to the right place.

images/download/attachments/1802858/Graphical_Boxes_Change_Size.png

Copy Graphical Boxes

You can copy graphical boxes by selecting the object, then press Ctrl and drag it to the right place.

images/download/attachments/1802858/Graphical_Boxes_Copy.png

How to delete graphical boxes

Graphical boxes can be deleted as other objects on the canvas by the Delete tool or by selecting the box and pushing Delete tool button or pressing the Delete key.

images/download/attachments/1802858/Grpahical_Boxes_Delete.png

Draw Graphical Arrows

You can draw graphical arrows with the Arrow/Reaction tools.

When there are more than one arrows on the canvas or the reaction converter web service is not available, the arrow will be exported as a graphical object.

images/download/attachments/1802858/Draw_Arrow.png

Change the Properties of an Arrow

Length

To change the length of the arrow, press the left mouse button on one end of it, then drag it until the arrow reaches the proper size. The old arrow is highlighted by grey and, after releasing the mouse button, the original arrow disappears.

images/download/attachments/1802858/Change_Arrow_Length.png

Direction

To change the direction of the arrow, hold the left mouse button on one end of the arrow, then drag it until the arrow gets into the required position. The old arrow is highlighted by grey and, after releasing the mouse button, the original arrow disappears.

images/download/attachments/1802858/Change_Arrow_Direction.png

Delete an Arrow

You can erase an arrow with the Delete tool, or by selecting it and pushing the Delete key.

Alternatively, when the arrow tool is active, hovering over the arrow, a red circle appears at the middle of the arrow.

Clicking on the circle removes the arrow from the canvas.

images/download/attachments/1802858/Delete_Arrow.png