- vertices(graph): Generator<Readonly<{
id: string;
out: readonly Readonly<{
id: string;
weight?: number;
}>[];
}>, void, unknown> Parameters
- graph: Readonly<{
vertices: IMapImmutable<string, Readonly<{
id: string;
out: readonly Readonly<{
id: string;
weight?: number;
}>[];
}>>;
}>
Returns Generator<Readonly<{
id: string;
out: readonly Readonly<{
id: string;
weight?: number;
}>[];
}>, void, unknown>
Iterate over all the vertices of the graph