From c92f0901a93e11f6d47354c1044a79a581543e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernst=20W=C3=BCrger?= Date: Tue, 16 Jul 2024 19:09:18 +0200 Subject: [PATCH] fix(context-diagram): Remove interface direction correction (#123) This didn't work and wasn't necessary. --- capellambse_context_diagrams/collectors/exchanges.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/capellambse_context_diagrams/collectors/exchanges.py b/capellambse_context_diagrams/collectors/exchanges.py index a3910685..7c8952ab 100644 --- a/capellambse_context_diagrams/collectors/exchanges.py +++ b/capellambse_context_diagrams/collectors/exchanges.py @@ -298,10 +298,6 @@ def add_interface(self) -> None: ) src, tgt = generic.exchange_data_collector(ex_data) assert self.right is not None - if self.get_source(self.obj).uuid == self.right.id: - self.data.edges[-1].sources = [tgt.uuid] - self.data.edges[-1].targets = [src.uuid] - assert self.left is not None self.left.ports.append(makers.make_port(src.uuid)) self.right.ports.append(makers.make_port(tgt.uuid))