Skip to content

ForceDirectedLayout - edge length #25

Open

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

Activity

  1. EryouHao commented on Aug 19, 2016

    @EryouHao

    hello,

    Is the problem solved by length assignment?

    I have the same problem.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions