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

Function SetNodeDraggable

imnodes.cpp:2675–2680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2673}
2674
2675void SetNodeDraggable(const int node_id, const bool draggable)
2676{
2677 ImNodesEditorContext& editor = EditorContextGet();
2678 ImNodeData& node = ObjectPoolFindOrCreateObject(editor.Nodes, node_id);
2679 node.Draggable = draggable;
2680}
2681
2682ImVec2 GetNodeScreenSpacePos(const int node_id)
2683{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected