diff --git a/daemon/core/gui/graph/manager.py b/daemon/core/gui/graph/manager.py index 8acce4c9..dc0adca9 100644 --- a/daemon/core/gui/graph/manager.py +++ b/daemon/core/gui/graph/manager.py @@ -395,6 +395,7 @@ class CanvasManager: if token in self.edges and link.options.unidirectional: edge = self.edges[token] edge.asymmetric_link = link + edge.redraw() elif token not in self.edges: edge = CanvasEdge(self.app, src, dst) edge.complete(dst, link) diff --git a/daemon/core/nodes/base.py b/daemon/core/nodes/base.py index 03979d01..2cf7d555 100644 --- a/daemon/core/nodes/base.py +++ b/daemon/core/nodes/base.py @@ -1055,7 +1055,7 @@ class CoreNetworkBase(NodeBase): unidirectional = 0 linked_node = iface.node if linked_node is None: - # two layer-2 switches/hubs linked together via linknet() + # two layer-2 switches/hubs linked together if not iface.othernet: continue linked_node = iface.othernet @@ -1063,7 +1063,9 @@ class CoreNetworkBase(NodeBase): continue if iface.local_options != iface.options: unidirectional = 1 - iface_data = iface.get_data() + iface_data = None + else: + iface_data = iface.get_data() link_data = LinkData( message_type=flags, type=self.linktype,