MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / toggleShowLabel

Method toggleShowLabel

cp-profiler/src/cpprofiler/tree/traditional_view.cpp:221–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void TraditionalView::toggleShowLabel()
222{
223 auto nid = node();
224 if (nid == NodeID::NoNode)
225 return;
226
227 auto val = !vis_flags_->isLabelShown(nid);
228 setLabelShown(nid, val);
229 emit needsRedrawing();
230 layout_computer_->dirtyUpLater(nid);
231}
232
233void TraditionalView::showLabelsDown()
234{

Callers

nothing calls this directly

Calls 2

isLabelShownMethod · 0.80
dirtyUpLaterMethod · 0.80

Tested by

no test coverage detected