Set boolean value and nbInputs for nodes