Open srcnuzn opened 3 months ago
Any thought on whether or not my expectation is valid?
I'd say your expectation sounds valid and I'd personally vote to the implementation of bidirectional arrow. Hasn't had a chance to dig into details of implementation of generating data flow diagram and whether those comment is actual:
https://github.com/Threagile/threagile/blob/master/pkg/report/graphviz.go#L223
https://github.com/Threagile/threagile/blob/master/pkg/report/graphviz.go#L33-L56
The comments are definitely a good hint for implementation. If the bug in the comment still persists and is difficult to resolve, we could at least enable bidirectional flows for other layouts than ortho.
I would recommend leaving the convention as it is which includes the notion of a 'target' found in model definition. Once the arrows become drawn as bidirectional in DFD there will not be a means to know who initiated the communication or on which technical asset to find the communication link definition.
Version Version: 1.0.0 (20240730113903)
Steps to reproduce
Have technical assets with communication link where data assets are sent and received.
Expected:
If I define
data_assets_sent
anddata_assets_receive
, I expect a bidirectional arrow.Actual:
Arrow is unidirectional.