isSimpleNode
Definition
-- @/lua/common/extensions/ui/flowgraph/editor.lua:828
local function isSimpleNode(category)
return category == 'simple'
or category == 'provider'
end
Callers
@/lua/ge/extensions/core/flowgraphManager.lua
-- add automatic pins from category system
if node.category and ui_flowgraph_editor.isFunctionalNode(node.category) and not ui_flowgraph_editor.isSimpleNode(node.category) then
availablePinTypes['_in']['flow'] = true
@/lua/ge/extensions/editor/flowgraph/references.lua
-- check if simple
if ui_flowgraph_editor.isSimpleNode(category) then
self.nodeTable[nodeName].behaviour['simple'] = true
@/lua/ge/extensions/flowgraph/basenode.lua
-- check if simple
if ui_flowgraph_editor.isSimpleNode(self.category) then
if self:hasFlowPins() then
-- handle automatic flow out on all functional (non-simple) nodes
if ui_flowgraph_editor.isFunctionalNode(self.category) and not ui_flowgraph_editor.isSimpleNode(self.category) then
self.pinOut.flow.value = self.pinIn.flow.value