Skip to content

assumption of numeric node id #338

Description

@micahscopes

I noticed that the getSourceIndex and getTargetIndex functions assume a numeric id. Why is this necessary? I've been using non-numeric id's in my project and while I could convert them all to some number, seems like it'd be nice if I didn't need to do that.

https://github.com/micahscopes/WebCola/blob/4aa06a7af9919a1dde3d79f9f0636573aa7df4fa/src/layout.ts#L781-L783

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions