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

Filter nodes #240

Open
bsideup opened this issue Mar 8, 2016 · 5 comments
Open

Filter nodes #240

bsideup opened this issue Mar 8, 2016 · 5 comments

Comments

@bsideup
Copy link

bsideup commented Mar 8, 2016

Hi!

Is it possible to filter out some nodes? i.e. I want to make them a part of the graph, but I don't want nodesep to be applied to them and I also want to make them invisible.

Thanks!

@kdh6429
Copy link

kdh6429 commented Apr 7, 2016

Better to filter with d3.filter method.

@bsideup
Copy link
Author

bsideup commented Apr 7, 2016

nope. It will create missing connections.

But I want:

a -> b -> c

filter B

a -> c

@kdh6429
Copy link

kdh6429 commented Apr 7, 2016

You need to re-process your data yourself. It's supported in dagre-d3.

@bsideup
Copy link
Author

bsideup commented Apr 7, 2016

I can do a lot myself :) But, if we talk about a library, I expect some handy stuff to be built-in, this is why I raised this issue :)

@sand4rt
Copy link

sand4rt commented Jul 11, 2021

@bsideup Apparently there is a un documented filterNodes function inside dagre: dagrejs/graphlib#107

Created a pull request to add types for it: DefinitelyTyped/DefinitelyTyped#54433

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

No branches or pull requests

3 participants