Accept socket names in graph methods