Graphical Objects in Marvin JS

Drawing 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.



Change the Properties of Graphical Boxes


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


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.


Copying Graphical Boxes

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


Deleting 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.


Drawing 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.


Changing the Properties of an Arrow


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.



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.


Deleting 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.