78

I am making a class diagram in draw.io, but I am completly new at it.

I am using the UML>Class2 figure.

The first three properties are part of the figure, but how do you get row number 4?

I assume there must be something so the text gets attached to the current figures.

Thomas Koelle
  • 3,416
  • 2
  • 23
  • 44

4 Answers4

123

Select one of the existing rows and duplicate (ctrl/cmd-d or right click, select duplicate).

Frodo Baggins
  • 8,290
  • 6
  • 45
  • 55
80

If you want to add a new row below the selected one use Ctrl+Enter

It's better solution if you are dealing with classes with method and attribute fields. (Ex.: Class figure)

RyanZim
  • 6,609
  • 1
  • 27
  • 43
Amadeusz
  • 1,488
  • 14
  • 21
15

If you have deleted all of the rows from the class diagram:

enter image description here

Then you will have to make a new class diagram and drag one of the fields into the old one:

enter image description here

Resulting in:

enter image description here

Then to add further cells you can follow the other answers.

Fantastic Mr Fox
  • 32,495
  • 27
  • 95
  • 175
11

As @Amadeusz and @RyanZim said, pressing Ctrl + Enter is a proper way to add a new row ON Windows.

ON macOS, you can press + to do that.

senchun
  • 163
  • 2
  • 6