Open squeetus opened 5 years ago
Dont think so. As it would require making sure the links coming to it and from it are removed. The latter is easy but the former requires some work.
-- krs
On 1/3/19 5:18 PM, David Burlinson wrote:
Is there a mechanism for removing graph nodes in Bridges?
I tried the following, which seems to remove the node from the graph, but causes a null pointer exception when I subsequently call Bridges.visualize();
|g.getVertices().remove("node10");|
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/krs-world/bridges/issues/128, or mute the thread https://github.com/notifications/unsubscribe-auth/AFZSODASW6HtJ0CnX_o3pR-DV2GDui82ks5u_oHRgaJpZM4Zo2-K.
That could be a useful feature. But maybe more of a future development. Or do we need this for something?
No, when we were thinking of DS courses, I didnt think of doing this.. most of our users barely get to graphs - I was the only one doing this to some extent. But as we extend Bridges to algorithms and more senior courses, something we might want.
-- krs
On 1/3/19 10:33 PM, Erik Saule wrote:
That could be a useful feature. But maybe more of a future development. Or do we need this for something?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/krs-world/bridges/issues/128#issuecomment-451345820, or mute the thread https://github.com/notifications/unsubscribe-auth/AFZSOEYtCrlyxhYuhWv9uB5pBnASDhhmks5u_suXgaJpZM4Zo2-K.
-- Kalpathi Subramanian Ph: 704 687 8579 Associate Professor Email: krs@uncc.edu Dept of Computer Science Web:http://webpages.uncc.edu/krs The University of North Carolina Charlotte, NC 28202-0001
This is not critical, we can discuss approaches later.
Would algorithms courses require restructuring graphs, requiring node deletion? Would require some work, but this is the time to do it.
Is there a mechanism for removing graph nodes in Bridges?
I tried the following, which seems to remove the node from the graph, but causes a null pointer exception when I subsequently call Bridges.visualize();
g.getVertices().remove("node10");