writing directive for edgeBundling