Skip to content

Maximum call stack size exceeded in $connectedComponentsDFS #755

@B3rn475

Description

@B3rn475

I'm reporting here, even if I'm experiencing the problem with elkjs, as in #472 it was reported that this is the correct way to do it.

I'm encountering Maximum call stack size exceeded in function $connectedComponentsDFS, while running a layered layout.

The Java counterpart of this function is at https://github.com/eclipse/elk/blob/3630e23fa5abc253233296e2bdf5e18828e5dba7/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/p2layers/NetworkSimplexLayerer.java#L103-L133
and is, unfortunately, recursive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    alg-layeredAffects the ELK Layered algorithm.easy-winThis won't take long.enhancementAn improvement to existing functionality.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions