code: def jsdlink(source, target):
      """Link a source widget attribute with a target widget attribute.
  
      The link is created in the front-end and does not rely on a roundtrip
      to the backend.
  
      Parameters
      ----------
      source : a (Widget, 'trait_name') tuple for the source trait
      target : a (Widget, 'trait_name') tuple for the target trait
  
      Examples
      --------
  
      >>> c = dlink((src_widget, 'value'), (tgt_widget, 'value'))
      """
      return DirectionalLink(source, target)
  
file_path: catboost/contrib/python/ipywidgets/py2/ipywidgets/widgets/widget_link.py
imports: from .widget import Widget, register, widget_serialization
  from .widget_core import CoreWidget
  from traitlets import Unicode, Tuple, Instance, TraitError
label_desc: Use image node_id 2 for calling a global function with example usage: jsdlink(source, target) and returns: DirectionalLink