@linkurious/ogma-linkurious-parser 4.2.5 → 4.2.6
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -3904,7 +3904,7 @@ class J {
|
|
|
3904
3904
|
* For a relation type grouping rule, return the central node from one of the nodes in the group
|
|
3905
3905
|
*/
|
|
3906
3906
|
static _getGroupCentralNode(e, t) {
|
|
3907
|
-
const i = e.getAdjacentEdges({ filter: "raw" }).filter((
|
|
3907
|
+
const i = e.getAdjacentEdges({ filter: "raw" }).filter((n) => n.getData("type") === t.groupingOptions.edgeType).get(0);
|
|
3908
3908
|
return t.groupingOptions.centralNodeIs === "source" ? i.getSource() : i.getTarget();
|
|
3909
3909
|
}
|
|
3910
3910
|
_getPropertyValueGroupId(e, t) {
|