Function definitions derived from graph declarations.