A system and method for configuring a node in a graphical program by
programmatically generating graphical source code associated with the
node. The node may initially have no functionality or may have default
functionality and may be able to take on different functionality in the
graphical program, depending on configuration user input received. User
input specifying desired functionality for the node may be received via a
GUI. Graphical source code may then be programmatically generated for the
node, such that the node is operable to implement the specified desired
functionality when the graphical program is executed. Since the graphical
source code associated with the node is generated programmatically, a
"minimal" amount of graphical source code may be generated.