Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions stubs/networkx/networkx/generators/community.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ __all__ = [
]

@_dispatchable
def caveman_graph(l: int, k: int) -> Graph[Incomplete]: ...
def caveman_graph(l: int, k: int) -> Graph[int]: ...
@_dispatchable
def connected_caveman_graph(l: int, k: int) -> Graph[Incomplete]: ...
def connected_caveman_graph(l: int, k: int) -> Graph[int]: ...
@_dispatchable
def relaxed_caveman_graph(l: int, k: int, p: float, seed=None) -> Graph[Incomplete]: ...
def relaxed_caveman_graph(l: int, k: int, p: float, seed=None) -> Graph[int]: ...
@_dispatchable
def random_partition_graph(
sizes: list[int], p_in: float, p_out: float, seed=None, directed: bool = False
Expand All @@ -37,9 +37,9 @@ def gaussian_random_partition_graph(
n: int, s: float, v: float, p_in: float, p_out: float, directed: bool = False, seed=None
) -> DiGraph[Incomplete]: ...
@_dispatchable
def ring_of_cliques(num_cliques: int, clique_size: int) -> Graph[Incomplete]: ...
def ring_of_cliques(num_cliques: int, clique_size: int) -> Graph[int]: ...
@_dispatchable
def windmill_graph(n: int, k: int) -> Graph[Incomplete]: ...
def windmill_graph(n: int, k: int) -> Graph[int]: ...
@_dispatchable
def stochastic_block_model(
sizes: list[int],
Expand All @@ -64,4 +64,4 @@ def LFR_benchmark_graph(
tol: float = 1e-07,
max_iters: int = 500,
seed=None,
) -> Graph[Incomplete]: ...
) -> Graph[int]: ...
Loading