You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently interfaces are just named bobbles. There is no "type" information behind (in a diagram you can of course model it with PlantUML), but incompatible interfaces could be connected.
Describe the solution you'd like
An interface type repository could host the interface types, that could be used as types of interface-ports (bobbles and half-circles). If they use the same type, they are compatible. The data would need to be in the model-repo, then an compatibility check could be done on whether the same type is behind the port. You could activate type checks, that could lead to an "error" or "warning" note instead of connecting. Connection only if valid.
This adds more semantics to the models. But especially if you want to have detailed information on your ports and want to be able to expose it easily in a re-usable way, than this makes sense.
Describe alternatives you've considered
Alternative is not considering types on ports. Keeps the tool smaller. But I think it is a useful feature, and I don't see how it could be done with plain PlantUML.
Additional context
Interfaces could be described with classes and then have a specially named relation to the ports.
The text was updated successfully, but these errors were encountered:
…e for typed interfaces and ports. Tagged values can be applied to ports and interfaces.
TODO:
- extend python parser to read the typed interfaces and ports into the modelrepo, considering also their tagged values.
- adopt user's guide
- adopt modelling guideline with hints to typed interfaces and best practices for dealing with interface variance
- document layout problems of PlantUML for ports
- setup new examples for typed interfaces and ports
Is your feature request related to a problem? Please describe.
Currently interfaces are just named bobbles. There is no "type" information behind (in a diagram you can of course model it with PlantUML), but incompatible interfaces could be connected.
Describe the solution you'd like
An interface type repository could host the interface types, that could be used as types of interface-ports (bobbles and half-circles). If they use the same type, they are compatible. The data would need to be in the model-repo, then an compatibility check could be done on whether the same type is behind the port. You could activate type checks, that could lead to an "error" or "warning" note instead of connecting. Connection only if valid.
This adds more semantics to the models. But especially if you want to have detailed information on your ports and want to be able to expose it easily in a re-usable way, than this makes sense.
Describe alternatives you've considered
Alternative is not considering types on ports. Keeps the tool smaller. But I think it is a useful feature, and I don't see how it could be done with plain PlantUML.
Additional context
Interfaces could be described with classes and then have a specially named relation to the ports.
The text was updated successfully, but these errors were encountered: