better convenience methods for some graph-related classes