Add metric-specific graph function system