Add row to class diagram

draw.io

draw.io Problem Overview


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.

draw.io Solutions


Solution 1 - draw.io

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

Solution 2 - draw.io

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)

Solution 3 - draw.io

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.

Solution 4 - draw.io

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.

Categories

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionThomas KoelleView Question on Stackoverflow
Solution 1 - draw.ioFrodo BagginsView Answer on Stackoverflow
Solution 2 - draw.ioAmadeuszView Answer on Stackoverflow
Solution 3 - draw.ioFantastic Mr FoxView Answer on Stackoverflow
Solution 4 - draw.ioSenchun YaoView Answer on Stackoverflow