Skip to content

Suggestion: pack() layouts with deterministic outputs #189

@jessihamel

Description

@jessihamel

Currently the circle packing layouts calculated by pack() are not deterministic. (Possibly because of the Math.random() call in shuffle)? It would be helpful if we had an option to ensure consistent outputs given the same input data.

Simple example showing two different outputs with the same data:
Screen Shot 2022-02-24 at 4 54 40 PM

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