-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Relationship dialog needs improvement #45
Comments
On reflection, that would not be the best idea. The reason we show relationships in both directions in the canvas is because users aren't always aware which way round the relationship is encoded in the domain model. They know which assets are involved, but not necessarily the direction of the relationship they want. |
I should also say that the example of a 'difficult' relationship cited is based on the domain-network knowledge base. |
Reviewed by @mike1813 : this is an enhancement which does seem quite important. The current interface is seriously clunky, yet it is the only way to add certain relationships. Realistically, it would be sufficient if users had to choose whether a new relationship should be inbound or outbound (as is currently the case), so the drop-down selection boxes can be populated accordingly (but with the options sorted alphabetically so it is easy to find the one you want). It should then be possible to specify the other asset first, and have the relationship options filtered based on that, emulating the process supported when adding relationships between asserted assets in the canvas. It would be OK not to allow users to choose the relationship type first and then select an asset. That is the way it works at present but usually one knows the asset before the relationship type, so if we must force users to do things in a specific order, it should be the one used in the canvas. |
…Canvas to Modeller, so that they can be reused in AddRelationModal (via DetailPane)
…cted first, then the allowed connection/relation types
…ex to ensure that tooltip is displayed at the top
Most asserted relationships are created by clicking a handle on one asset, then clicking on the asset with which it should have the new relationship. Where there are multiple possible relationships (in either direction), a drop-down selection is provided. This has some nice properties:
It is also possible to create relationships from the asset properties panel. To do this, one must open the folded list of inbound or outbound relationships, click on the 'add' button, and select the relationship type and the other asset involved (in that order). This has some not so nice properties:
The whole process is very difficult.
For example, if one wants to create a Process-receives-Data relationship, one can select the Process, but the list of possible relationships to any other asset in the system is huge. If the system model includes a Sensor, two 'receives' relationship types, one of which refers to the Process-receivesFromSensor-Data type (which uses the label 'receives'). Either can be selected, but you only find out which is which when you look for a relatable asset (with one you want you see a list of Data assets, but with the other, a list of Sensors). And you may not even get that far unless you know what each relationship type means.
I propose the following improvements:
This means by the time one is choosing the relationship type:
This dialog is the only way to create asserted relationships involving inferred assets. At present, that leads to a crash (explained in issue #44), but once that bug is fixed, some users may start wanting to use this feature. In future we may want to use this dialog also as the way to add relationships that are by default hidden in the canvas view, which certainly would help reduce the visual complexity of using system-modeller. In short, although this feature is rarely used, it is likely to become far more important in future.
The text was updated successfully, but these errors were encountered: