parse function calls
rename some labels in dot output for clarity