Labeled graph