labeled graph