Skip to content
  • Mike Bostock's avatar
    By default, enter-insert before updating sibling. · d1f8082a
    Mike Bostock authored
    Fixes #744. This implements a default `before` selector such that when entering
    elements are inserted (e.g., enter.insert("div")), they are inserted before the
    next following sibling in the update selection, if any. This change does not
    affect the behavior of append, so as to preserve backwards-compatibility, and
    likewise does not affect the behavior of insert on non-enter selections.
    d1f8082a