Adding line type for the relationship

This commit is contained in:
HansMarcus01 2025-04-07 07:37:43 -06:00
parent f5fe8a1a16
commit 60e0432862

View File

@ -27,7 +27,8 @@ export default function Relationship({ data }) {
const pathRef = useRef();
const labelRef = useRef();
const relationshipType = data.lineType || "0";
const type = settings.notation === 'default' ? 0 : 10;
const relationshipType=(5,type);
let direction = 1;
let cardinalityStart = "1";
let cardinalityEnd = "1";