MCPcopy Create free account
hub / github.com/Nelarius/imnodes / DrawListAddNode

Function DrawListAddNode

imnodes.cpp:415–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413// -----------------------
414
415void DrawListAddNode(const int node_idx)
416{
417 GImNodes->NodeIdxToSubmissionIdx.SetInt(
418 static_cast<ImGuiID>(node_idx), GImNodes->NodeIdxSubmissionOrder.Size);
419 GImNodes->NodeIdxSubmissionOrder.push_back(node_idx);
420 ImDrawListGrowChannels(GImNodes->CanvasDrawList, 2);
421}
422
423void DrawListAppendClickInteractionChannel()
424{

Callers 1

BeginNodeFunction · 0.85

Calls 2

ImDrawListGrowChannelsFunction · 0.85
SetIntMethod · 0.80

Tested by

no test coverage detected