Revert "Don't use attributes"

This reverts commit 8f09463c1089a7c4ae11a442c40c1d8125adb871.
Don't apply attributes to edges