network: Minor change.

mesh
Pierre-Antoine Rouby 2023-04-03 15:11:48 +02:00
parent 9944159d73
commit 2ed051bb41
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class NodeItem(QGraphicsItem):
# Select color in function of node position in graph and
# status
color = Qt.yellow
color = Qt.blue
if self.graph.selected_new_edge_src_node() == self:
color = Qt.darkRed
elif self.graph.selected_item() == self:
@ -60,7 +60,7 @@ class NodeItem(QGraphicsItem):
elif not self.graph.graph.is_enable_node(self.node):
color = Qt.darkGray
elif self.graph.graph.is_upstream_node(self.node):
color = Qt.blue
color = Qt.yellow
elif self.graph.graph.is_downstream_node(self.node):
color = Qt.green