- edgesForVertex(graph, context): Generator<Readonly<{
a: string;
b: string;
weight?: number;
}>, void, unknown> Parameters
- graph: Readonly<{
edges: readonly Readonly<{
a: string;
b: string;
weight?: number;
}>[];
vertices: IMapImmutable<string, Readonly<{
id: string;
}>>;
}> - context: undefined | string | Readonly<{
id: string;
}>
Returns Generator<Readonly<{
a: string;
b: string;
weight?: number;
}>, void, unknown>