Function toAdjacencyMatrix
- toAdjacencyMatrix(graph): Table<boolean>
Parameters
- graph: Readonly<{
edges: readonly Readonly<{
a: string;
b: string;
weight?: number;
}>[];
vertices: IMapImmutable<string, Readonly<{
id: string;
}>>;
}>
Returns Table<boolean>