Visual Paradigm line break at method parameters
uml, visual-paradigm
Solution
How to resize the class elements in VP
For already existing classes:
- Right click on the class - not on a class element.
- On Popup menu choose Presentation Options -> Configure Class Presentation Options
- Check `Wrap Members` , OK
- Change the width of the class box and be happy.
For new classes from now on:
- Tools-> Project Options->Diagramming->Class->Presentation
- Check `Wrap class Member`, OK/Apply.
If you don't see some options
Go into Tools -> Application Options -> General -> Environment, check Advanced UI mode, apply and restart the whole application.
You can also divide a line by hand, using Alt+Enter
Problem
I have to make a documentation for my program, and that documentation have to contains class diagrams too. My problem is, some method has too many parameters, and it makes the class diagram very long horizontally. And these large diagrams doesn't fit in the documentation. Is there any way to break the line of the parameters? (I tried ctrl+enter) So the method will take place two lines, and it won't be that large horizontally.