Skip to content

Iteration methods such as node.eachBefore should pass the index, too. #67

@nathanbowser

Description

@nathanbowser

I'm upgrading some code from v3 to v4. I think it'd be useful for eachBefore and perhaps the other loops to receive an index. e.g. Migrating this block: http://bl.ocks.org/mbostock/1093025

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions