Hi Gabor,
i'm not sure whether clusters() is my want.
i try to make it more clear:
g1 and g2 are two connected graphs, and i also can put them together as G, which contains 2 disconnected components.
in addition, in g1 and g2, several connecting components may be found by some functions.
what i want is to return 2 but not more disconnected components.
Gang
------------------ ???????? ------------------
??????: "G??bor Cs??r"<address@hidden>;
????????: 2013??6??21??(??????) ????1:25
??????: "Help for igraph users"<address@hidden>;
????: Re: [igraph] how to find disconnected components
I am not sure that I get what you want, but isn't just clusters() what you are looking for? If not, then can you give an example?
Gabor