Re: [jgrapht-users] Changing target or source / merge vertices
Brought to you by:
barak_naveh,
perfecthash
From: John S. <js...@gm...> - 2013-07-13 22:42:43
|
Remove it from the graph and then add it back with http://jgrapht.org/javadoc/org/jgrapht/Graph.html#addEdge(V, V, E) On Fri, Jul 5, 2013 at 9:19 AM, Rikless <eri...@gm...> wrote: > Hi, > > Once an edge is created, how can I change its target or edge ? > I've created a MyEdge Class with its own target and source fields which > extends DefaultWeightedEdge, but source and target are not accessible from > the DefaultWeightedEdge class. > > Actually, I need to process merging vertices into one, so related edges have > to be modified. > > Any idea ? > Thanks, > > Eric > > > > -- > View this message in context: http://jgrapht-users.107614.n3.nabble.com/Changing-target-or-source-merge-vertices-tp4024832.html > Sent from the jgrapht-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > jgrapht-users mailing list > jgr...@li... > https://lists.sourceforge.net/lists/listinfo/jgrapht-users |