fixes #2268 Changed logic so that particular edge properties rather than default style are modified.