Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added capability to get all paths for directed graph and specific target #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

didix16
Copy link

@didix16 didix16 commented Jan 17, 2021

This modifications allows to get all paths from roots to specific target.

New options added:

  • directed: boolean. default: false
  • target: string. default: null

New method added:

cytoscapeAllPathsTo(target, settings)

  • target: string. The target node ID
  • settings: object. The existing settings object with keys rootIds and maxPaths

cytoscapeAllPathsTo is an alias of cytoscapeAllPaths({directed: true, target: "YOUR_TARGET", ...})

@KonradHoeffner
Copy link

Those features would be greatly appreciated! Seeing that the repository author has not commited for 5 years, I took the liberty to write an email with the request to approve this PR.

@KonradHoeffner
Copy link

@didix16: Do you have a demo? I am testing your PR right now and the target option gets ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants