GE Lua Documentation

Press F to search!

SelectNode

Definition


-- @/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua:235
  M.SelectNode = function(nodeId, append)
    if nodeId == nil then nodeId = 0 end
    if append == nil then append = false end
    fge.SelectNode(nodeId, append)
  end

Callers

@/lua/ge/extensions/flowgraph/pin.lua
    ui_flowgraph_editor.ClearSelection()
    ui_flowgraph_editor.SelectNode(self.node.id, true)
  end
@/lua/ge/extensions/flowgraph/manager.lua
      node:alignToGrid(mousePos.x + (nodeData.pos[1] - center.x), mousePos.y + (nodeData.pos[2] - center.y))
      ui_flowgraph_editor.SelectNode(node.id, true)
    end
@/lua/ge/extensions/editor/flowgraph/search.lua
      self.mgr:unselectAll()
      ui_flowgraph_editor.SelectNode(result.node.id, false)
      result.node.graph.focusSelection = true
      self.mgr:unselectAll()
      ui_flowgraph_editor.SelectNode(result.pin.node.id, false)
      --ui_flowgraph_editor.NavigateToSelection(false, 0.1)
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
  ui_flowgraph_editor.SetNodePosition(node.id, menuPos)
  --ui_flowgraph_editor.SelectNode(node.id, false)
  node:alignToGrid()
  ui_flowgraph_editor.SetNodePosition(node.id, menuPos)
  --ui_flowgraph_editor.SelectNode(node.id, false)
  node:alignToGrid()
  ui_flowgraph_editor.SetNodePosition(node.id, pos)
  ui_flowgraph_editor.SelectNode(node.id, false)
  node:alignToGrid()
  ui_flowgraph_editor.SetNodePosition(node.id, menuPos)
  ui_flowgraph_editor.SelectNode(node.id, false)
  node:alignToGrid()
    ui_flowgraph_editor.SetNodePosition(n.id, menuPos)
    ui_flowgraph_editor.SelectNode(n.id, false)
    n:alignToGrid()
@/lua/ge/extensions/editor/flowgraph/garbageDebug.lua
      self.mgr:unselectAll()
      ui_flowgraph_editor.SelectNode(e.meta.node.id, false)
      e.meta.node.graph.focusSelection = true
@/lua/ge/extensions/editor/flowgraph/main.lua
      ui_flowgraph_editor.ClearSelection()
      ui_flowgraph_editor.SelectNode(self.contextNodeId[0], true)
    end
@/lua/ge/extensions/editor/flowgraph/events.lua
      self.mgr:unselectAll()
      ui_flowgraph_editor.SelectNode(e.meta.node.id, false)
      e.meta.node.graph.focusSelection = true
@/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua
    if append == nil then append = false end
    fge.SelectNode(nodeId, append)
  end
@/lua/ge/extensions/editor/flowgraph/stateView.lua
function C:selectNode(node, append)
  fge.SelectNode(node.id, append)
end
@/lua/ge/extensions/editor/flowgraph/overview.lua
function C:selectNode(node, append)
  fge.SelectNode(node.id, append)
end
@/lua/ge/extensions/flowgraph/basenode.lua
        self.mgr:unselectAll()
        ui_flowgraph_editor.SelectNode(comment.id, false)
        --e.meta.node.graph.focusSelection = true