updated offset handling for edges anchored to groups
updated offset handling for edges anchored to groups