added support for link.add({ color: and directional: })