def hub_matrix(G,nodelist=None):
    M=nx.to_numpy_matrix(G,nodelist=nodelist)
    return M*M.T
Test the see service.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/link_analysis/hits_alg.py/hub_matrix--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/device_tracker/test_init.py/TestComponentsDeviceTracker.test_see_service