leoribeiro / struc2vec

This repository provides a reference implementation of struc2vec.
MIT License
381 stars 116 forks source link

Problem with disconnected nodes #20

Open BlackPianoCat opened 2 years ago

BlackPianoCat commented 2 years ago

I work with some graphs that have some disconnected nodes. I believe that when I create the edges list, which contains only the connected part of the network, the algorithm outputs network representations for only the connected part of the network. Is there any way to include the disconnected nodes, or I should remove them from the network, completely?