data-structure-typed 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/cjs/binary-tree.cjs +2927 -23688
  3. package/dist/cjs/graph.cjs +845 -2634
  4. package/dist/cjs/hash.cjs +185 -616
  5. package/dist/cjs/heap.cjs +266 -818
  6. package/dist/cjs/index.cjs +5116 -31358
  7. package/dist/cjs/linked-list.cjs +644 -2615
  8. package/dist/cjs/matrix.cjs +220 -535
  9. package/dist/cjs/priority-queue.cjs +266 -818
  10. package/dist/cjs/queue.cjs +637 -2343
  11. package/dist/cjs/stack.cjs +124 -530
  12. package/dist/cjs/trie.cjs +145 -592
  13. package/dist/cjs-legacy/binary-tree.cjs +4352 -25113
  14. package/dist/cjs-legacy/graph.cjs +847 -2636
  15. package/dist/cjs-legacy/hash.cjs +181 -612
  16. package/dist/cjs-legacy/heap.cjs +266 -818
  17. package/dist/cjs-legacy/index.cjs +6657 -32899
  18. package/dist/cjs-legacy/linked-list.cjs +640 -2611
  19. package/dist/cjs-legacy/matrix.cjs +220 -535
  20. package/dist/cjs-legacy/priority-queue.cjs +266 -818
  21. package/dist/cjs-legacy/queue.cjs +634 -2340
  22. package/dist/cjs-legacy/stack.cjs +124 -530
  23. package/dist/cjs-legacy/trie.cjs +145 -592
  24. package/dist/esm/binary-tree.mjs +2927 -23688
  25. package/dist/esm/graph.mjs +845 -2634
  26. package/dist/esm/hash.mjs +185 -616
  27. package/dist/esm/heap.mjs +266 -818
  28. package/dist/esm/index.mjs +5116 -31358
  29. package/dist/esm/linked-list.mjs +644 -2615
  30. package/dist/esm/matrix.mjs +220 -535
  31. package/dist/esm/priority-queue.mjs +266 -818
  32. package/dist/esm/queue.mjs +637 -2343
  33. package/dist/esm/stack.mjs +124 -530
  34. package/dist/esm/trie.mjs +145 -592
  35. package/dist/esm-legacy/binary-tree.mjs +4352 -25113
  36. package/dist/esm-legacy/graph.mjs +847 -2636
  37. package/dist/esm-legacy/hash.mjs +181 -612
  38. package/dist/esm-legacy/heap.mjs +266 -818
  39. package/dist/esm-legacy/index.mjs +6657 -32899
  40. package/dist/esm-legacy/linked-list.mjs +640 -2611
  41. package/dist/esm-legacy/matrix.mjs +220 -535
  42. package/dist/esm-legacy/priority-queue.mjs +266 -818
  43. package/dist/esm-legacy/queue.mjs +634 -2340
  44. package/dist/esm-legacy/stack.mjs +124 -530
  45. package/dist/esm-legacy/trie.mjs +145 -592
  46. package/dist/types/data-structures/binary-tree/avl-tree.d.ts +29 -500
  47. package/dist/types/data-structures/binary-tree/binary-indexed-tree.d.ts +38 -563
  48. package/dist/types/data-structures/binary-tree/binary-tree.d.ts +230 -1212
  49. package/dist/types/data-structures/binary-tree/bst.d.ts +124 -1063
  50. package/dist/types/data-structures/binary-tree/red-black-tree.d.ts +99 -854
  51. package/dist/types/data-structures/binary-tree/segment-tree.d.ts +62 -314
  52. package/dist/types/data-structures/binary-tree/tree-map.d.ts +366 -5057
  53. package/dist/types/data-structures/binary-tree/tree-multi-map.d.ts +277 -4885
  54. package/dist/types/data-structures/binary-tree/tree-multi-set.d.ts +253 -3929
  55. package/dist/types/data-structures/binary-tree/tree-set.d.ts +261 -4782
  56. package/dist/types/data-structures/graph/abstract-graph.d.ts +44 -44
  57. package/dist/types/data-structures/graph/directed-graph.d.ts +130 -527
  58. package/dist/types/data-structures/graph/undirected-graph.d.ts +125 -482
  59. package/dist/types/data-structures/hash/hash-map.d.ts +132 -562
  60. package/dist/types/data-structures/heap/heap.d.ts +194 -746
  61. package/dist/types/data-structures/linked-list/doubly-linked-list.d.ts +120 -809
  62. package/dist/types/data-structures/linked-list/singly-linked-list.d.ts +121 -733
  63. package/dist/types/data-structures/linked-list/skip-linked-list.d.ts +193 -863
  64. package/dist/types/data-structures/matrix/matrix.d.ts +159 -474
  65. package/dist/types/data-structures/priority-queue/max-priority-queue.d.ts +1 -6
  66. package/dist/types/data-structures/priority-queue/min-priority-queue.d.ts +6 -11
  67. package/dist/types/data-structures/priority-queue/priority-queue.d.ts +1 -1
  68. package/dist/types/data-structures/queue/deque.d.ts +196 -804
  69. package/dist/types/data-structures/queue/queue.d.ts +99 -585
  70. package/dist/types/data-structures/stack/stack.d.ts +75 -481
  71. package/dist/types/data-structures/trie/trie.d.ts +98 -584
  72. package/dist/umd/data-structure-typed.js +6580 -32822
  73. package/dist/umd/data-structure-typed.min.js +3 -3
  74. package/docs-site-docusaurus/docs/api/classes/AVLTree.md +162 -215
  75. package/docs-site-docusaurus/docs/api/classes/AVLTreeNode.md +9 -9
  76. package/docs-site-docusaurus/docs/api/classes/AbstractGraph.md +47 -47
  77. package/docs-site-docusaurus/docs/api/classes/BST.md +155 -208
  78. package/docs-site-docusaurus/docs/api/classes/BSTNode.md +7 -7
  79. package/docs-site-docusaurus/docs/api/classes/BinaryIndexedTree.md +13 -29
  80. package/docs-site-docusaurus/docs/api/classes/BinaryTree.md +104 -158
  81. package/docs-site-docusaurus/docs/api/classes/BinaryTreeNode.md +13 -13
  82. package/docs-site-docusaurus/docs/api/classes/Deque.md +72 -104
  83. package/docs-site-docusaurus/docs/api/classes/DirectedGraph.md +60 -80
  84. package/docs-site-docusaurus/docs/api/classes/DoublyLinkedList.md +67 -101
  85. package/docs-site-docusaurus/docs/api/classes/DoublyLinkedListNode.md +6 -6
  86. package/docs-site-docusaurus/docs/api/classes/FibonacciHeap.md +9 -9
  87. package/docs-site-docusaurus/docs/api/classes/FibonacciHeapNode.md +1 -1
  88. package/docs-site-docusaurus/docs/api/classes/HashMap.md +52 -48
  89. package/docs-site-docusaurus/docs/api/classes/Heap.md +40 -68
  90. package/docs-site-docusaurus/docs/api/classes/IterableElementBase.md +17 -17
  91. package/docs-site-docusaurus/docs/api/classes/LinearBase.md +38 -38
  92. package/docs-site-docusaurus/docs/api/classes/LinearLinkedBase.md +45 -45
  93. package/docs-site-docusaurus/docs/api/classes/LinkedHashMap.md +23 -23
  94. package/docs-site-docusaurus/docs/api/classes/LinkedListQueue.md +68 -96
  95. package/docs-site-docusaurus/docs/api/classes/MapGraph.md +60 -80
  96. package/docs-site-docusaurus/docs/api/classes/Matrix.md +57 -52
  97. package/docs-site-docusaurus/docs/api/classes/MaxHeap.md +38 -66
  98. package/docs-site-docusaurus/docs/api/classes/MaxPriorityQueue.md +41 -74
  99. package/docs-site-docusaurus/docs/api/classes/MinHeap.md +38 -66
  100. package/docs-site-docusaurus/docs/api/classes/MinPriorityQueue.md +46 -79
  101. package/docs-site-docusaurus/docs/api/classes/PriorityQueue.md +40 -68
  102. package/docs-site-docusaurus/docs/api/classes/Queue.md +54 -78
  103. package/docs-site-docusaurus/docs/api/classes/RedBlackTree.md +171 -225
  104. package/docs-site-docusaurus/docs/api/classes/SegmentTree.md +10 -22
  105. package/docs-site-docusaurus/docs/api/classes/SinglyLinkedList.md +68 -98
  106. package/docs-site-docusaurus/docs/api/classes/SinglyLinkedListNode.md +4 -4
  107. package/docs-site-docusaurus/docs/api/classes/SkipList.md +98 -75
  108. package/docs-site-docusaurus/docs/api/classes/Stack.md +33 -53
  109. package/docs-site-docusaurus/docs/api/classes/TreeMap.md +104 -129
  110. package/docs-site-docusaurus/docs/api/classes/TreeMultiMap.md +57 -124
  111. package/docs-site-docusaurus/docs/api/classes/TreeSet.md +45 -116
  112. package/docs-site-docusaurus/docs/api/classes/Trie.md +37 -61
  113. package/docs-site-docusaurus/docs/api/classes/TrieNode.md +8 -8
  114. package/docs-site-docusaurus/docs/api/classes/UndirectedGraph.md +59 -77
  115. package/package.json +1 -1
  116. package/src/data-structures/binary-tree/tree-multi-set.ts +15 -11
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Class: MapGraph\<V, E, VO, EO\>
8
8
 
9
- Defined in: [data-structures/graph/map-graph.ts:96](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L96)
9
+ Defined in: [data-structures/graph/map-graph.ts:95](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L95)
10
10
 
11
11
  Directed graph variant carrying geospatial coordinates.
12
12
 
@@ -119,7 +119,7 @@ Concrete edge class (MapEdge<E>).
119
119
  new MapGraph<V, E, VO, EO>(originCoord, bottomRight?): MapGraph<V, E, VO, EO>;
120
120
  ```
121
121
 
122
- Defined in: [data-structures/graph/map-graph.ts:108](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L108)
122
+ Defined in: [data-structures/graph/map-graph.ts:107](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L107)
123
123
 
124
124
  Construct a MapGraph.
125
125
 
@@ -159,7 +159,7 @@ Time O(1), Space O(1)
159
159
  get size(): number;
160
160
  ```
161
161
 
162
- Defined in: [data-structures/graph/abstract-graph.ts:89](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L89)
162
+ Defined in: [data-structures/graph/abstract-graph.ts:85](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L85)
163
163
 
164
164
  Total number of entries.
165
165
 
@@ -241,7 +241,7 @@ Time O(1) avg, Space O(1)
241
241
  addEdge(edge): boolean;
242
242
  ```
243
243
 
244
- Defined in: [data-structures/graph/abstract-graph.ts:254](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L254)
244
+ Defined in: [data-structures/graph/abstract-graph.ts:258](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L258)
245
245
 
246
246
  ##### Parameters
247
247
 
@@ -267,7 +267,7 @@ addEdge(
267
267
  value?): boolean;
268
268
  ```
269
269
 
270
- Defined in: [data-structures/graph/abstract-graph.ts:256](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L256)
270
+ Defined in: [data-structures/graph/abstract-graph.ts:260](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L260)
271
271
 
272
272
  ##### Parameters
273
273
 
@@ -319,7 +319,7 @@ Time O(1) avg, Space O(1)
319
319
  addVertex(vertex): boolean;
320
320
  ```
321
321
 
322
- Defined in: [data-structures/graph/abstract-graph.ts:189](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L189)
322
+ Defined in: [data-structures/graph/abstract-graph.ts:193](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L193)
323
323
 
324
324
  ##### Parameters
325
325
 
@@ -341,7 +341,7 @@ Defined in: [data-structures/graph/abstract-graph.ts:189](https://github.com/zrw
341
341
  addVertex(key, value?): boolean;
342
342
  ```
343
343
 
344
- Defined in: [data-structures/graph/abstract-graph.ts:191](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L191)
344
+ Defined in: [data-structures/graph/abstract-graph.ts:195](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L195)
345
345
 
346
346
  ##### Parameters
347
347
 
@@ -373,7 +373,7 @@ bellmanFord(
373
373
  genPath?): object;
374
374
  ```
375
375
 
376
- Defined in: [data-structures/graph/abstract-graph.ts:705](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L705)
376
+ Defined in: [data-structures/graph/abstract-graph.ts:677](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L677)
377
377
 
378
378
  Bellman-Ford single-source shortest paths with option to scan negative cycles.
379
379
 
@@ -461,7 +461,7 @@ Time O(V * E), Space O(V + E)
461
461
  clear(): void;
462
462
  ```
463
463
 
464
- Defined in: [data-structures/graph/directed-graph.ts:968](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L968)
464
+ Defined in: [data-structures/graph/directed-graph.ts:634](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L634)
465
465
 
466
466
  Remove all vertices and edges.
467
467
 
@@ -485,7 +485,7 @@ Time O(V + E), Space O(1)
485
485
  clone(): this;
486
486
  ```
487
487
 
488
- Defined in: [data-structures/graph/map-graph.ts:162](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L162)
488
+ Defined in: [data-structures/graph/map-graph.ts:159](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L159)
489
489
 
490
490
  Deep clone as the same concrete class.
491
491
 
@@ -515,7 +515,7 @@ createEdge(
515
515
  value?): EO;
516
516
  ```
517
517
 
518
- Defined in: [data-structures/graph/map-graph.ts:153](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L153)
518
+ Defined in: [data-structures/graph/map-graph.ts:150](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L150)
519
519
 
520
520
  Create a map edge (directed) with optional weight/value.
521
521
 
@@ -571,7 +571,7 @@ createVertex(
571
571
  long?): VO;
572
572
  ```
573
573
 
574
- Defined in: [data-structures/graph/map-graph.ts:135](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L135)
574
+ Defined in: [data-structures/graph/map-graph.ts:132](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L132)
575
575
 
576
576
  Create a map vertex with optional coordinates.
577
577
 
@@ -623,7 +623,7 @@ Time O(1), Space O(1)
623
623
  degreeOf(vertexOrKey): number;
624
624
  ```
625
625
 
626
- Defined in: [data-structures/graph/directed-graph.ts:641](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L641)
626
+ Defined in: [data-structures/graph/directed-graph.ts:434](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L434)
627
627
 
628
628
  Degree (in + out) of a vertex.
629
629
 
@@ -657,7 +657,7 @@ Time O(1) avg, Space O(1)
657
657
  deleteEdge(edgeOrSrcVertexKey, destVertexKey?): EO | undefined;
658
658
  ```
659
659
 
660
- Defined in: [data-structures/graph/directed-graph.ts:387](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L387)
660
+ Defined in: [data-structures/graph/directed-graph.ts:305](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L305)
661
661
 
662
662
  Delete an edge by instance or by `(srcKey, destKey)`.
663
663
 
@@ -685,8 +685,6 @@ Removed edge or `undefined`.
685
685
 
686
686
  Time O(1) avg, Space O(1)
687
687
 
688
- *
689
-
690
688
  #### Example
691
689
 
692
690
  ```ts
@@ -728,7 +726,7 @@ Time O(1) avg, Space O(1)
728
726
  deleteEdgeSrcToDest(srcOrKey, destOrKey): EO | undefined;
729
727
  ```
730
728
 
731
- Defined in: [data-structures/graph/directed-graph.ts:293](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L293)
729
+ Defined in: [data-structures/graph/directed-graph.ts:255](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L255)
732
730
 
733
731
  Delete edge `src -> dest` if present.
734
732
 
@@ -768,12 +766,10 @@ Time O(1) avg, Space O(1)
768
766
  deleteVertex(vertexOrKey): boolean;
769
767
  ```
770
768
 
771
- Defined in: [data-structures/graph/directed-graph.ts:468](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L468)
769
+ Defined in: [data-structures/graph/directed-graph.ts:344](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L344)
772
770
 
773
771
  Remove a vertex
774
772
 
775
- *
776
-
777
773
  #### Parameters
778
774
 
779
775
  ##### vertexOrKey
@@ -813,7 +809,7 @@ dijkstraWithoutHeap(
813
809
  genPaths?): DijkstraResult<VO>;
814
810
  ```
815
811
 
816
- Defined in: [data-structures/graph/abstract-graph.ts:484](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L484)
812
+ Defined in: [data-structures/graph/abstract-graph.ts:478](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L478)
817
813
 
818
814
  Dijkstra without heap (array-based selection).
819
815
 
@@ -865,12 +861,10 @@ Time O(V^2 + E), Space O(V + E)
865
861
  edgeSet(): EO[];
866
862
  ```
867
863
 
868
- Defined in: [data-structures/graph/directed-graph.ts:860](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L860)
864
+ Defined in: [data-structures/graph/directed-graph.ts:567](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L567)
869
865
 
870
866
  Get all edges
871
867
 
872
- *
873
-
874
868
  #### Returns
875
869
 
876
870
  `EO`[]
@@ -898,7 +892,7 @@ Get all edges
898
892
  edgesOf(vertexOrKey): EO[];
899
893
  ```
900
894
 
901
- Defined in: [data-structures/graph/directed-graph.ts:671](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L671)
895
+ Defined in: [data-structures/graph/directed-graph.ts:464](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L464)
902
896
 
903
897
  All incident edges of a vertex.
904
898
 
@@ -998,7 +992,7 @@ Time O(n), Space O(1)
998
992
  filter(predicate, thisArg?): this;
999
993
  ```
1000
994
 
1001
- Defined in: [data-structures/graph/abstract-graph.ts:897](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L897)
995
+ Defined in: [data-structures/graph/abstract-graph.ts:847](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L847)
1002
996
 
1003
997
  Induced-subgraph filter: keep vertices where `predicate(key, value)` is true,
1004
998
  and only keep edges whose endpoints both survive.
@@ -1039,7 +1033,7 @@ Time O(V + E), Space O(V + E)
1039
1033
  filterEntries(predicate, thisArg?): [VertexKey, V | undefined][];
1040
1034
  ```
1041
1035
 
1042
- Defined in: [data-structures/graph/abstract-graph.ts:913](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L913)
1036
+ Defined in: [data-structures/graph/abstract-graph.ts:863](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L863)
1043
1037
 
1044
1038
  Preserve the old behavior: return filtered entries as an array.
1045
1039
 
@@ -1113,7 +1107,7 @@ Time O(n), Space O(1)
1113
1107
  floydWarshall(): object;
1114
1108
  ```
1115
1109
 
1116
- Defined in: [data-structures/graph/abstract-graph.ts:798](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L798)
1110
+ Defined in: [data-structures/graph/abstract-graph.ts:760](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L760)
1117
1111
 
1118
1112
  Floyd–Warshall all-pairs shortest paths.
1119
1113
 
@@ -1226,7 +1220,7 @@ getAllPathsBetween(
1226
1220
  limit?): VO[][];
1227
1221
  ```
1228
1222
 
1229
- Defined in: [data-structures/graph/abstract-graph.ts:309](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L309)
1223
+ Defined in: [data-structures/graph/abstract-graph.ts:316](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L316)
1230
1224
 
1231
1225
  Enumerate simple paths up to a limit.
1232
1226
 
@@ -1272,7 +1266,7 @@ Time O(paths) worst-case exponential, Space O(V + paths)
1272
1266
  getCycles(isInclude2Cycle?): VertexKey[][];
1273
1267
  ```
1274
1268
 
1275
- Defined in: [data-structures/graph/abstract-graph.ts:838](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L838)
1269
+ Defined in: [data-structures/graph/abstract-graph.ts:796](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L796)
1276
1270
 
1277
1271
  Enumerate simple cycles (may be expensive).
1278
1272
 
@@ -1306,7 +1300,7 @@ Time exponential in worst-case, Space O(V + E)
1306
1300
  getDestinations(vertex): VO[];
1307
1301
  ```
1308
1302
 
1309
- Defined in: [data-structures/graph/directed-graph.ts:689](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L689)
1303
+ Defined in: [data-structures/graph/directed-graph.ts:482](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L482)
1310
1304
 
1311
1305
  Direct children reachable by one outgoing edge.
1312
1306
 
@@ -1340,7 +1334,7 @@ Time O(deg_out), Space O(deg_out)
1340
1334
  getDFNMap(): Map<VO, number>;
1341
1335
  ```
1342
1336
 
1343
- Defined in: [data-structures/graph/directed-graph.ts:1096](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L1096)
1337
+ Defined in: [data-structures/graph/directed-graph.ts:713](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L713)
1344
1338
 
1345
1339
  DFN index map computed by `tarjan()`.
1346
1340
 
@@ -1366,7 +1360,7 @@ Time O(V), Space O(V)
1366
1360
  getEdge(srcOrKey, destOrKey): EO | undefined;
1367
1361
  ```
1368
1362
 
1369
- Defined in: [data-structures/graph/directed-graph.ts:268](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L268)
1363
+ Defined in: [data-structures/graph/directed-graph.ts:233](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L233)
1370
1364
 
1371
1365
  Get the unique edge from `src` to `dest`, if present.
1372
1366
 
@@ -1394,8 +1388,6 @@ Edge instance or `undefined`.
1394
1388
 
1395
1389
  Time O(1) avg, Space O(1)
1396
1390
 
1397
- *
1398
-
1399
1391
  #### Example
1400
1392
 
1401
1393
  ```ts
@@ -1420,7 +1412,7 @@ Time O(1) avg, Space O(1)
1420
1412
  getEndsOfEdge(edge): [VO, VO] | undefined;
1421
1413
  ```
1422
1414
 
1423
- Defined in: [data-structures/graph/directed-graph.ts:943](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L943)
1415
+ Defined in: [data-structures/graph/directed-graph.ts:609](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L609)
1424
1416
 
1425
1417
  Resolve an edge's `[src, dest]` endpoints to vertex instances.
1426
1418
 
@@ -1454,7 +1446,7 @@ Time O(1), Space O(1)
1454
1446
  getLowMap(): Map<VO, number>;
1455
1447
  ```
1456
1448
 
1457
- Defined in: [data-structures/graph/directed-graph.ts:1105](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L1105)
1449
+ Defined in: [data-structures/graph/directed-graph.ts:722](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L722)
1458
1450
 
1459
1451
  LOW link map computed by `tarjan()`.
1460
1452
 
@@ -1483,7 +1475,7 @@ getMinCostBetween(
1483
1475
  isWeight?): number | undefined;
1484
1476
  ```
1485
1477
 
1486
- Defined in: [data-structures/graph/abstract-graph.ts:362](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L362)
1478
+ Defined in: [data-structures/graph/abstract-graph.ts:364](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L364)
1487
1479
 
1488
1480
  Minimum hops/weight between two vertices.
1489
1481
 
@@ -1533,7 +1525,7 @@ getMinPathBetween(
1533
1525
  isDFS?): VO[] | undefined;
1534
1526
  ```
1535
1527
 
1536
- Defined in: [data-structures/graph/abstract-graph.ts:415](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L415)
1528
+ Defined in: [data-structures/graph/abstract-graph.ts:414](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L414)
1537
1529
 
1538
1530
  Minimum path (as vertex sequence) between two vertices.
1539
1531
 
@@ -1585,12 +1577,10 @@ Time O((V + E) log V) weighted / O(V + E) unweighted, Space O(V + E)
1585
1577
  getNeighbors(vertexOrKey): VO[];
1586
1578
  ```
1587
1579
 
1588
- Defined in: [data-structures/graph/directed-graph.ts:921](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L921)
1580
+ Defined in: [data-structures/graph/directed-graph.ts:588](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L588)
1589
1581
 
1590
1582
  Get outgoing neighbors
1591
1583
 
1592
- *
1593
-
1594
1584
  #### Parameters
1595
1585
 
1596
1586
  ##### vertexOrKey
@@ -1627,7 +1617,7 @@ Get outgoing neighbors
1627
1617
  getPathSumWeight(path): number;
1628
1618
  ```
1629
1619
 
1630
- Defined in: [data-structures/graph/abstract-graph.ts:346](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L346)
1620
+ Defined in: [data-structures/graph/abstract-graph.ts:348](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L348)
1631
1621
 
1632
1622
  Sum the weights along a vertex path.
1633
1623
 
@@ -1661,7 +1651,7 @@ Time O(L), Space O(1) where L is path length
1661
1651
  getSCCs(): Map<number, VO[]>;
1662
1652
  ```
1663
1653
 
1664
- Defined in: [data-structures/graph/directed-graph.ts:1164](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L1164)
1654
+ Defined in: [data-structures/graph/directed-graph.ts:742](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L742)
1665
1655
 
1666
1656
  Strongly connected components computed by `tarjan()`.
1667
1657
 
@@ -1675,8 +1665,6 @@ Map from SCC id to vertices.
1675
1665
 
1676
1666
  Time O(#SCC + V), Space O(V)
1677
1667
 
1678
- *
1679
-
1680
1668
  #### Example
1681
1669
 
1682
1670
  ```ts
@@ -1704,7 +1692,7 @@ Time O(#SCC + V), Space O(V)
1704
1692
  getVertex(vertexKey): VO | undefined;
1705
1693
  ```
1706
1694
 
1707
- Defined in: [data-structures/graph/abstract-graph.ts:175](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L175)
1695
+ Defined in: [data-structures/graph/abstract-graph.ts:179](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L179)
1708
1696
 
1709
1697
  Get vertex instance by key.
1710
1698
 
@@ -1772,7 +1760,7 @@ Time O(n) generic, Space O(1)
1772
1760
  hasEdge(v1, v2): boolean;
1773
1761
  ```
1774
1762
 
1775
- Defined in: [data-structures/graph/abstract-graph.ts:249](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L249)
1763
+ Defined in: [data-structures/graph/abstract-graph.ts:253](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L253)
1776
1764
 
1777
1765
  Whether an edge exists between two vertices.
1778
1766
 
@@ -1846,7 +1834,7 @@ Time O(n), Space O(1)
1846
1834
  hasVertex(vertexOrKey): boolean;
1847
1835
  ```
1848
1836
 
1849
- Defined in: [data-structures/graph/abstract-graph.ts:185](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L185)
1837
+ Defined in: [data-structures/graph/abstract-graph.ts:189](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L189)
1850
1838
 
1851
1839
  Whether a vertex exists.
1852
1840
 
@@ -1880,7 +1868,7 @@ Time O(1) avg, Space O(1)
1880
1868
  incomingEdgesOf(vertexOrKey): EO[];
1881
1869
  ```
1882
1870
 
1883
- Defined in: [data-structures/graph/directed-graph.ts:565](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L565)
1871
+ Defined in: [data-structures/graph/directed-graph.ts:397](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L397)
1884
1872
 
1885
1873
  Incoming edges of a vertex.
1886
1874
 
@@ -1902,8 +1890,6 @@ Array of incoming edges.
1902
1890
 
1903
1891
  Time O(deg_in), Space O(deg_in)
1904
1892
 
1905
- *
1906
-
1907
1893
  #### Example
1908
1894
 
1909
1895
  ```ts
@@ -1929,7 +1915,7 @@ Time O(deg_in), Space O(deg_in)
1929
1915
  isEmpty(): boolean;
1930
1916
  ```
1931
1917
 
1932
- Defined in: [data-structures/graph/directed-graph.ts:960](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L960)
1918
+ Defined in: [data-structures/graph/directed-graph.ts:626](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L626)
1933
1919
 
1934
1920
  Whether the graph has no vertices and no edges.
1935
1921
 
@@ -1953,7 +1939,7 @@ Time O(1), Space O(1)
1953
1939
  isVertexKey(potentialKey): potentialKey is VertexKey;
1954
1940
  ```
1955
1941
 
1956
- Defined in: [data-structures/graph/abstract-graph.ts:215](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L215)
1942
+ Defined in: [data-structures/graph/abstract-graph.ts:219](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L219)
1957
1943
 
1958
1944
  Type guard: check if a value is a valid vertex key.
1959
1945
 
@@ -2013,7 +1999,7 @@ Time O(n), Space O(1)
2013
1999
  map<T>(callback, thisArg?): T[];
2014
2000
  ```
2015
2001
 
2016
- Defined in: [data-structures/graph/abstract-graph.ts:928](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L928)
2002
+ Defined in: [data-structures/graph/abstract-graph.ts:878](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L878)
2017
2003
 
2018
2004
  Map entries using an implementation-specific strategy.
2019
2005
 
@@ -2053,7 +2039,7 @@ Time O(n), Space O(n)
2053
2039
  outgoingEdgesOf(vertexOrKey): EO[];
2054
2040
  ```
2055
2041
 
2056
- Defined in: [data-structures/graph/directed-graph.ts:627](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L627)
2042
+ Defined in: [data-structures/graph/directed-graph.ts:420](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L420)
2057
2043
 
2058
2044
  Outgoing edges of a vertex.
2059
2045
 
@@ -2075,8 +2061,6 @@ Array of outgoing edges.
2075
2061
 
2076
2062
  Time O(deg_out), Space O(deg_out)
2077
2063
 
2078
- *
2079
-
2080
2064
  #### Example
2081
2065
 
2082
2066
  ```ts
@@ -2102,7 +2086,7 @@ Time O(deg_out), Space O(deg_out)
2102
2086
  print(options?): void;
2103
2087
  ```
2104
2088
 
2105
- Defined in: [data-structures/graph/abstract-graph.ts:1183](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1183)
2089
+ Defined in: [data-structures/graph/abstract-graph.ts:984](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L984)
2106
2090
 
2107
2091
  Print the graph to console.
2108
2092
 
@@ -2178,7 +2162,7 @@ Time O(n), Space O(1)
2178
2162
  removeManyVertices(vertexMap): boolean;
2179
2163
  ```
2180
2164
 
2181
- Defined in: [data-structures/graph/abstract-graph.ts:234](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L234)
2165
+ Defined in: [data-structures/graph/abstract-graph.ts:238](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L238)
2182
2166
 
2183
2167
  Delete multiple vertices.
2184
2168
 
@@ -2215,7 +2199,7 @@ setEdgeWeight(
2215
2199
  weight): boolean;
2216
2200
  ```
2217
2201
 
2218
- Defined in: [data-structures/graph/abstract-graph.ts:291](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L291)
2202
+ Defined in: [data-structures/graph/abstract-graph.ts:298](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L298)
2219
2203
 
2220
2204
  Set the weight of an existing edge.
2221
2205
 
@@ -2301,7 +2285,7 @@ Time O(n), Space O(1)
2301
2285
  tarjan(): object;
2302
2286
  ```
2303
2287
 
2304
- Defined in: [data-structures/graph/directed-graph.ts:1040](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L1040)
2288
+ Defined in: [data-structures/graph/directed-graph.ts:667](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L667)
2305
2289
 
2306
2290
  Tarjan's algorithm for strongly connected components.
2307
2291
 
@@ -2333,8 +2317,6 @@ SCCs: Map<number, VO[]>;
2333
2317
 
2334
2318
  Time O(V + E), Space O(V + E)
2335
2319
 
2336
- *
2337
-
2338
2320
  #### Example
2339
2321
 
2340
2322
  ```ts
@@ -2390,7 +2372,7 @@ Time O(n), Space O(n)
2390
2372
  toDot(options?): string;
2391
2373
  ```
2392
2374
 
2393
- Defined in: [data-structures/graph/abstract-graph.ts:1143](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1143)
2375
+ Defined in: [data-structures/graph/abstract-graph.ts:952](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L952)
2394
2376
 
2395
2377
  Generate DOT language representation for Graphviz.
2396
2378
 
@@ -2430,7 +2412,7 @@ DOT format string.
2430
2412
  topologicalSort(propertyName?): (VertexKey | VO)[] | undefined;
2431
2413
  ```
2432
2414
 
2433
- Defined in: [data-structures/graph/directed-graph.ts:774](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L774)
2415
+ Defined in: [data-structures/graph/directed-graph.ts:525](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L525)
2434
2416
 
2435
2417
  Topological sort if DAG; returns `undefined` if a cycle exists.
2436
2418
 
@@ -2452,8 +2434,6 @@ Array of keys/vertices, or `undefined` when cycle is found.
2452
2434
 
2453
2435
  Time O(V + E), Space O(V)
2454
2436
 
2455
- *
2456
-
2457
2437
  #### Example
2458
2438
 
2459
2439
  ```ts
@@ -2492,7 +2472,7 @@ Time O(V + E), Space O(V)
2492
2472
  toVisual(options?): string;
2493
2473
  ```
2494
2474
 
2495
- Defined in: [data-structures/graph/abstract-graph.ts:1108](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1108)
2475
+ Defined in: [data-structures/graph/abstract-graph.ts:920](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L920)
2496
2476
 
2497
2477
  Generate a text-based visual representation of the graph.
2498
2478
 
@@ -2562,7 +2542,7 @@ Time O(n), Space O(1)
2562
2542
  static fromEntries<V>(entries): DirectedGraph<V, undefined, DirectedVertex<V>, DirectedEdge<undefined>>;
2563
2543
  ```
2564
2544
 
2565
- Defined in: [data-structures/graph/directed-graph.ts:182](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L182)
2545
+ Defined in: [data-structures/graph/directed-graph.ts:183](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L183)
2566
2546
 
2567
2547
  Construct a directed graph from `[key, value]` entries.
2568
2548
 
@@ -2604,7 +2584,7 @@ Time O(V), Space O(V)
2604
2584
  static fromKeys<K>(keys): DirectedGraph<K, undefined, DirectedVertex<K>, DirectedEdge<undefined>>;
2605
2585
  ```
2606
2586
 
2607
- Defined in: [data-structures/graph/directed-graph.ts:167](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L167)
2587
+ Defined in: [data-structures/graph/directed-graph.ts:166](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L166)
2608
2588
 
2609
2589
  Construct a directed graph from keys with value initializer `v => v`.
2610
2590
 
@@ -2651,7 +2631,7 @@ Time O(V), Space O(V)
2651
2631
  get protected _edgeConnector(): string;
2652
2632
  ```
2653
2633
 
2654
- Defined in: [data-structures/graph/directed-graph.ts:136](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L136)
2634
+ Defined in: [data-structures/graph/directed-graph.ts:155](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L155)
2655
2635
 
2656
2636
  The edge connector string used in visual output.
2657
2637
  Override in subclasses (e.g., '--' for undirected, '->' for directed).
@@ -2672,7 +2652,7 @@ Override in subclasses (e.g., '--' for undirected, '->' for directed).
2672
2652
  protected _addEdge(edge): boolean;
2673
2653
  ```
2674
2654
 
2675
- Defined in: [data-structures/graph/directed-graph.ts:1174](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L1174)
2655
+ Defined in: [data-structures/graph/directed-graph.ts:752](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/directed-graph.ts#L752)
2676
2656
 
2677
2657
  Internal hook to attach a directed edge into adjacency maps.
2678
2658
 
@@ -2706,7 +2686,7 @@ Time O(1) avg, Space O(1)
2706
2686
  protected _addVertex(newVertex): boolean;
2707
2687
  ```
2708
2688
 
2709
- Defined in: [data-structures/graph/abstract-graph.ts:1054](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1054)
2689
+ Defined in: [data-structures/graph/abstract-graph.ts:1089](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1089)
2710
2690
 
2711
2691
  Insert a pre-built vertex into the graph.
2712
2692
 
@@ -2740,7 +2720,7 @@ Time O(1) avg, Space O(1)
2740
2720
  protected _createInstance(options?): this;
2741
2721
  ```
2742
2722
 
2743
- Defined in: [data-structures/graph/map-graph.ts:181](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L181)
2723
+ Defined in: [data-structures/graph/map-graph.ts:178](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L178)
2744
2724
 
2745
2725
  Re-create a same-species MapGraph instance from snapshot options.
2746
2726
 
@@ -2774,7 +2754,7 @@ Time O(1), Space O(1)
2774
2754
  protected _createLike(iter?, options?): this;
2775
2755
  ```
2776
2756
 
2777
- Defined in: [data-structures/graph/abstract-graph.ts:1009](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1009)
2757
+ Defined in: [data-structures/graph/abstract-graph.ts:1044](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1044)
2778
2758
 
2779
2759
  Create a same-species graph populated with entries; preserves edges among kept vertices.
2780
2760
 
@@ -2814,7 +2794,7 @@ Time O(V + E), Space O(V + E)
2814
2794
  protected _getIterator(): IterableIterator<[VertexKey, V | undefined]>;
2815
2795
  ```
2816
2796
 
2817
- Defined in: [data-structures/graph/abstract-graph.ts:958](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L958)
2797
+ Defined in: [data-structures/graph/abstract-graph.ts:993](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L993)
2818
2798
 
2819
2799
  Internal iterator over `[key, value]` entries in insertion order.
2820
2800
 
@@ -2840,7 +2820,7 @@ Time O(V), Space O(1)
2840
2820
  protected _getVertex(vertexOrKey): VO | undefined;
2841
2821
  ```
2842
2822
 
2843
- Defined in: [data-structures/graph/abstract-graph.ts:1068](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1068)
2823
+ Defined in: [data-structures/graph/abstract-graph.ts:1103](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1103)
2844
2824
 
2845
2825
  Resolve a vertex key or instance to the concrete vertex instance.
2846
2826
 
@@ -2874,7 +2854,7 @@ Time O(1), Space O(1)
2874
2854
  protected _getVertexKey(vertexOrKey): VertexKey;
2875
2855
  ```
2876
2856
 
2877
- Defined in: [data-structures/graph/abstract-graph.ts:1079](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1079)
2857
+ Defined in: [data-structures/graph/abstract-graph.ts:1114](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/abstract-graph.ts#L1114)
2878
2858
 
2879
2859
  Resolve a vertex key from a key or vertex instance.
2880
2860
 
@@ -2908,7 +2888,7 @@ Time O(1), Space O(1)
2908
2888
  protected _snapshotOptions(): Record<string, unknown>;
2909
2889
  ```
2910
2890
 
2911
- Defined in: [data-structures/graph/map-graph.ts:171](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L171)
2891
+ Defined in: [data-structures/graph/map-graph.ts:168](https://github.com/zrwusa/data-structure-typed/blob/main/src/data-structures/graph/map-graph.ts#L168)
2912
2892
 
2913
2893
  Include `originCoord` and `bottomRight` so `clone()/filter()` preserve geospatial settings.
2914
2894