Skip to content

ForceDirectedLayout - edge length #25

@MartaNascimento

Description

@MartaNascimento

Hi,

I am using the class ForceDirectedLayout in order to layout the positions of graph elements,
but I would like to be able to define the length of each edge. I have redefined getSpringLength in order to reach my goal, I have also use explicitly addSpring from ForceSimulator, but nothing changes. Could you please tell me what is missing me?

Best regards,
Marta Nascimento

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