archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
914 stars 267 forks source link

the ability to transfer text to the next line in the name of elements and arrows #963

Closed nikolay-kochubashev closed 9 months ago

nikolay-kochubashev commented 9 months ago

Thank you for developing such a thoughtful, functional tool! Can you implement the ability to transfer text to the next line in the name of elements and arrows?

Phillipus commented 9 months ago

Not sure what you mean exactly. But you can use Label Expressions to fine tune the names.

nikolay-kochubashev commented 9 months ago

Thank you for your suggestion. I mean a line break in text (carriage-return).

For example I want to type text like this:

O’er all the hilltops
Is quiet now,
In all the treetops
Hearest thou
Hardly a breath;

But I can it just so: O’er all the hilltops Is quiet now, In all the treetops Hearest thou Hardly a breath;

Phillipus commented 9 months ago

Paste that text into the label expression and it will render like that.

nikolay-kochubashev commented 9 months ago

It was not obvious that Label Expression supports formatting, and input directly into the name does not support.

It will be good if you can immediately enter text with line separation in the title, for example, using the Alt + Enter or Shift + Enter key combination

Anyway thank you a lot for help!