Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Node order problem when using hierarchical layout #3403

@KimRasmussen

Description

@KimRasmussen

When using hierarchical layout with 2 levels and > 10 items in the 2nd level, the sort order gets weird.

I have a simple example here: http://jsfiddle.net/sg27ycbn/

Here, you can see the order of nodes in the 2nd level is all wrong. If I comment out the line

edges.add({from: 1, to: 12});

then the remaining 9 nodes connected to the root gets shown sorted in the order they were inserted in, but as soon as there are 10 of them, the order gets weird.

I assume that is a bug and not intentional - is there any way I can fix this ? Any options that should have been set different ?

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