Author Topic: SOLVED: Adding and removing space to and from a canvas  (Read 17951 times)

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
SOLVED: Adding and removing space to and from a canvas
« on: February 13, 2023, 07:25:53 pm »
Hi everyone

I have a seconed suggestion, but this is more a question if such a function already exists. In some diagrams I add elements and everything looks fine. But then I gather more and more information and suddenly I need more space between the elements. In a way I would like to just stretch a canvas at a certain point and add more space vertically or horizontally. This is different from selecting each and every single item and move them to another place. And it would be great to have the opposite function as well to remove unnecessary space.

Does something like this already exist in EA? I know it from other tools and used it there a lot.

Best regards
Martin
« Last Edit: February 13, 2023, 11:02:24 pm by MWHBS »

qwerty

  • EA Guru
  • *****
  • Posts: 13525
  • Karma: +395/-300
  • I'm no guru at all
    • View Profile
Re: Adding and removing space to and from a canvas
« Reply #1 on: February 13, 2023, 08:05:27 pm »
Not really. There is a sweep function which I have ever used only when it was introduced. It sort of moves everything LRT or B depending on the main direction you move the mouse. I even dont rememeber how to start it. Ctrl-Move or Shift-Move or so...

q.

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Adding and removing space to and from a canvas
« Reply #2 on: February 13, 2023, 08:27:39 pm »
Thanks for your suggestion. I tried both combinations, but it seems that it just grabs something like a boundary with all items in it and let me move them around (shift + move). Ctrl + seems to do a paste action. But it does not just add space between the items. Still, I will see if this helps me. And if at any time a space adding/removing tool would be implemented, it could be a great enhancement.

Thank you!

qwerty

  • EA Guru
  • *****
  • Posts: 13525
  • Karma: +395/-300
  • I'm no guru at all
    • View Profile
Re: Adding and removing space to and from a canvas
« Reply #3 on: February 13, 2023, 10:17:35 pm »
Ah, it was Alt-Move...

q.

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Adding and removing space to and from a canvas
« Reply #4 on: February 13, 2023, 11:01:21 pm »
Hi qwerty.

Thank you very much! This is exactly what I needed and I was looking for that for quite a while. I am very new to this forum. Can I somehow mark this as solved and is there someting like an endorsement function?

Best regards
Martin

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #5 on: February 13, 2023, 11:04:46 pm »
PS: Can I somehow make a visual shortcut (like a button in the UI) to use this function?

qwerty

  • EA Guru
  • *****
  • Posts: 13525
  • Karma: +395/-300
  • I'm no guru at all
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #6 on: February 14, 2023, 12:25:07 am »
This forum is not state of the art. It's here and that's fine. But that is what can be said positively. Threads stay open and searching is more or less a PITA. Sometimes you're lucky, more often not. Google is better in finding results. No problem if you come with some issue well known. Happens everyone with EA to hit his head when entering the door. Headaches usually go away after some times.

q.

Takeshi K

  • EA User
  • **
  • Posts: 528
  • Karma: +32/-1
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #7 on: February 14, 2023, 11:08:04 am »
Hello Martin,

Just for your information, you can use this feature with only left-dragging by checking the 'Sweeper' checkbox in the Layout ribbon, Helpers panel.

HTH,
--
t-kouno

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #8 on: February 14, 2023, 06:50:19 pm »
Thank you very much. Now I have even two ways to accomplish this :)

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 340
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #9 on: February 17, 2023, 03:25:59 am »
I don't know if your are talking about the same feature, but I use it in the following way: first, select the elements you want to move; then go to menu: "Layout | Tools | Diagram Layout | Converge/Diverge" and that's it

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #10 on: February 17, 2023, 04:39:29 am »
It shows some similarities, but it is not the same.

Besides I can also add something to the sweeper function. It works good in a diagram with many elements arranged somewhere, but it has its shortcomings when trying in a diagram with pools. Then it does not work in the way I want, but instead it always grabs the entire pool and everything in it. But I can live with it and I am already very happy with the sweeper function.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12999
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #11 on: February 17, 2023, 05:06:27 am »
A useful trick when working with diagrams that contain pools and lanes, is to set them to non-selectable (see context menu)

That way you can move around the contents all you want, without interfering with those pools and lanes

Geert

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #12 on: February 17, 2023, 06:39:24 pm »
Cool, thanks for the advice. I will use that.

MWHBS

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #13 on: May 08, 2023, 10:50:25 pm »
A useful trick when working with diagrams that contain pools and lanes, is to set them to non-selectable (see context menu)

That way you can move around the contents all you want, without interfering with those pools and lanes

Geert

Dear Geert

I have to ask, if there is anything else I must do. I have made the pool not selectable and still they are moved around.

Best regards
Martin

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12999
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: SOLVED: Adding and removing space to and from a canvas
« Reply #14 on: May 08, 2023, 11:07:32 pm »
If you set the pool non-selectable, you cannot by accident move the pool when selecting multiple elemnets to move.

Not sure if there are other ways it can be moved, but not anymore by selecting it.

Geert