added graph properties functions