MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / update_label_text

Method update_label_text

src/core/pin.py:69–73  ·  view source on GitHub ↗

Update the label text based on current settings.

(self)

Source from the content-addressed store, hash-verified

67 return base_name
68
69 def update_label_text(self):
70 """Update the label text based on current settings."""
71 if hasattr(self, 'label') and self.label:
72 self.label.setPlainText(self._get_display_name())
73 self.update_label_pos()
74
75 def destroy(self):
76 """Cleanly remove the pin and its label from the scene."""

Callers 3

rename_pinMethod · 0.80
_update_data_pinsMethod · 0.80
refresh_pin_labelsMethod · 0.80

Calls 2

_get_display_nameMethod · 0.95
update_label_posMethod · 0.95

Tested by

no test coverage detected