Book a Demo

Author Topic: Suggestion: 1..* (for existing elements) quick linking  (Read 6534 times)

Ian Kirwan

  • EA Novice
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Suggestion: 1..* (for existing elements) quick linking
« on: May 20, 2016, 08:49:44 pm »
(Possibility of similar or same suggestion already existing accepted. Apologies in advance for duplicate suggestions and existing capabilities that already cover the suggestion.)

Suggest allowing 1 to many quick linking between existing elements, while allowing the user to select the directionality and stereotype of the links as same for all or specify each. I believe this would improve user productivity. Very useful for block diagrams of various sorts including class diagrams.
« Last Edit: May 20, 2016, 08:58:04 pm by Ian Kirwan »

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Suggestion: 1..* (for existing elements) quick linking
« Reply #1 on: May 27, 2016, 01:58:24 pm »
Can you explain how you envisage a user carrying out this action in EA please?
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Ian Kirwan

  • EA Novice
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Re: Suggestion: 1..* (for existing elements) quick linking
« Reply #2 on: May 27, 2016, 09:50:12 pm »
Suggested mechanism:

Open a diagram with an existing set of elements that we want to create relationships for.

Select the set of elements that we want connected to a single element, right click for context menu, select 'Link To...' (just invented that). Then select the target element(s) that they all link to. Pop up dialog asks for the type of link (a list of recently used, preferred or most common perhaps (with respect to type, directionality, cardinality, stereotype etc):

Result (had to use an image from the net so look at the middle rows):



Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Suggestion: 1..* (for existing elements) quick linking
« Reply #3 on: May 27, 2016, 11:01:42 pm »
So what you're talking about is connecting many-to-one. This could be achieved by extending the quick linker functionality as follows.

1) At present, the quick linker is disabled when multiple elements are selected. Enable it.
2) When a "multi-selection" quick link is dropped onto an element, find the set of allowed connectors for each selected element type/stereotype (in the relevant diagram type) as per normal. Create a menu with the intersection of those sets, ie only include those connectors that all selected element types allow.
3) Create the selected connectors.
4) If the quick link is dropped on an empty space, do the same but with creation of elements too, of course.

Doable in theory. Practice, who knows. There are probably all sorts of special cases lurking down there.

While this function might be useful in certain situations I don't see a huge use for it.
I'll give it a +0.25.


/Uffe
My theories are always correct, just apply them to the right reality.