Skip to content

clustering selected nodes doesn't work properly #8

Description

@mikekucera

Steps to reproduce:

  • Open a network (eg galFiltered)
  • Select a subset of the nodes
  • Run mcl with selectedNodes=true
  • Result only the selected nodes are clustered, so far so good
  • Unselect the nodes
  • Run mcl with selectedNodes = false
  • Result is that only the nodes that were previously selected are clustered

The behaviour seems to be that whenever you run mcl on some selected nodes, any subsequent call to mcl always runs on the same nodes as the first time.

Activity

  1. mikekucera commented on Jul 13, 2017

    @mikekucera
    Author

    From debugging it looks like EdgeAttributeHandler.getMatrix() is just returning the matrix from the previous execution. The updateBounds() method is not recreating the matrix because I'm using "--None--" as the attribute.

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