archimatetool / archi

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

Relationship anchors #166

Open theunsfvo opened 7 years ago

theunsfvo commented 7 years ago

This is actually a feature...

I've found that a LOT of time goes into re-aligning relationships that has added points, each time elements are moved, the relationships are pulled askew.

In Archi 4, the alignment tools helps A LOT, but the relationships still need to be re-aligned.

Would be great if there was a flag option that locks the lines in their perpendicular position and just lengthens them when the linked elements is moved?

jbsarrodie commented 7 years ago

Hi,

That's something Phil worked on some month ago but we weren't able to define a good algorithm for that (sometimes you want anchors/bendpoints to move, sometimes not...). So this is something on our (rather long) list of things to do for an Archi version 4.1

theunsfvo commented 7 years ago

Cool... I suppose a on/off toggle flag will sort that out.

​But I'd think that is a pretty BIG feature that would benefit everybody that works a lot with Archi, will save a LOT of time...​

Regards, Theuns - "I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams IQ Business http://www.iqbusiness.net: Solution Architect | TOGAF 9 Certified Enterprise Architect My 3D Images http://bluestarcreations.wordpress.com/ || Some of my writings http://www.writingroom.com/writingresults.aspx?m=Zandria || My Awesome Stuff Blog http://awesomestufftheunslikes.wordpress.com/about/

On 1 December 2016 at 10:37, Jean-Baptiste Sarrodie < notifications@github.com> wrote:

Hi,

That's something Phil worked on some month ago but we weren't able to define a good algorithm for that (sometimes you want anchors/bendpoints to move, sometimes not...). So this is something on our (rather long) list of things to do for an Archi version 4.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/166#issuecomment-264111500, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2-peO_9NxiSCrsW-OPFBLHMGiGs8jMks5rDodZgaJpZM4K-6Eh .

jbsarrodie commented 7 years ago

I suppose a on/off toggle flag will sort that out.

Not so simple: imagine you have two elements with a relationship between them, and this relationship has some bendpoints/anchors for any reasons. If you move only one of the elements you want the bendpoints to stay in place to keep the "orthogonal" layout, but if you select both elements and move them, you want to also move the bendpoints... So in fact there is an algorithm to define whether bendpoints should move or not...

I'd think that is a pretty BIG feature that would benefit everybody that works a lot with Archi, will save a LOT of time...​

And i'm one of those users ;-)

theunsfvo commented 7 years ago

I see what you mean, was thinking more a toggle per relationship but like you said, what do you do when you drag two with different flags... warn the user with a popup that you should only select similar flagged relationships for moving... but then you need to show the different types on the relationship on the diagram visually somehow... AND have a quick select or select filter button for each type as well...

​Doable but complex I suppose...​

Regards, Theuns - "I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams IQ Business http://www.iqbusiness.net: Solution Architect | TOGAF 9 Certified Enterprise Architect My 3D Images http://bluestarcreations.wordpress.com/ || Some of my writings http://www.writingroom.com/writingresults.aspx?m=Zandria || My Awesome Stuff Blog http://awesomestufftheunslikes.wordpress.com/about/

On 1 December 2016 at 11:36, Jean-Baptiste Sarrodie < notifications@github.com> wrote:

I suppose a on/off toggle flag will sort that out.

Not so simple: imagine you have two elements with a relationship between them, and this relationship has some bendpoints/anchors for any reasons. If you move only one of the elements you want the bendpoints to stay in place to keep the "orthogonal" layout, but if you select both elements and move them, you want to also move the bendpoints... So in fact there is an algorithm to define whether bendpoints should move or not...

I'd think that is a pretty BIG feature that would benefit everybody that works a lot with Archi, will save a LOT of time...​

And i'm one of those users ;-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/166#issuecomment-264124936, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2-pccjdKSRkipYLzf9H5GeFcpiy8GRks5rDpUYgaJpZM4K-6Eh .

jbsarrodie commented 7 years ago

I hae some good idea of our to implement it, but for the moment the focus is on Archi 4 itself :-)

theunsfvo commented 7 years ago

Great stuff, archi 4 is awesome so far... keep up the great work! ;)

Regards, Theuns - "I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams IQ Business http://www.iqbusiness.net: Solution Architect | TOGAF 9 Certified Enterprise Architect My 3D Images http://bluestarcreations.wordpress.com/ || Some of my writings http://www.writingroom.com/writingresults.aspx?m=Zandria || My Awesome Stuff Blog http://awesomestufftheunslikes.wordpress.com/about/

On 1 December 2016 at 12:10, Jean-Baptiste Sarrodie < notifications@github.com> wrote:

I hae some good idea of our to implement it, but for the moment the focus is on Archi 4 itself :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/166#issuecomment-264132469, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2-pV2O6Ylh4wN2C6j2zFX2u98P0flfks5rDp0hgaJpZM4K-6Eh .