Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a line straight in StarUML

I am using the StarUml to draw some component dialog,however I found that it is to difficult to make a straight line straight enough.

In visio, when I want to draw a Horizontal straight line,I can use the "Shift" key in my keybordl,how to do it in StarUml?

like image 928
hguser Avatar asked Apr 22 '10 14:04

hguser


People also ask

How do you go to the next line in Staruml?

Click the node you want to apply a new line, then press CTRL + SHIFT + W .

How do you draw a line in UML?

Once you already have a symbol on your diagram, you can add new ones by drawing a line and choosing a symbol from the auto-prompt that appears. Click any of the yellow dots at the perimeter of a shape to start drawing a line and add a shape that's connected to the previous shape from the menu that pops up.

How do you draw Staruml?

Create Class DiagramFirst select an element where a new Class Diagram to be contained as a child. 2. Select Model | Add Diagram | Class Diagram in the Menu Bar or select Add Diagram | Class Diagram in Context Menu.

What is stereotype in Staruml?

Stereotype. A stereotype is a modeling element that has definitions for adding new properties and constraints to the standard UML modeling elements. A stereotype can also have definitions to provide new notations for modeling elements.


3 Answers

I also struggled with this one.

I solved it this way: right click on the line you have issues with. Select Format/Line Style/Rectlinear. Shortcut key CTRL + L.

Juha.

like image 59
juhako Avatar answered Oct 06 '22 20:10

juhako


CTRL A + CTRL L should do it :)

like image 34
Gerb Avatar answered Oct 06 '22 19:10

Gerb


I've been struggling with this problem too, and have just found the solution:

Select the object you're having straight line issues with, and ensure 'Auto Resize' is not enabled. This will let you resize your object so that all of its anchors snap to the grid. This in turn, will enable your line elbows to match up exactly with the middle of one of your object's edges.

Hope this helps,

Jamie.

like image 7
Jamie Avatar answered Oct 06 '22 19:10

Jamie