mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
Adding line type for the relationship
This commit is contained in:
parent
f5fe8a1a16
commit
60e0432862
@ -27,7 +27,8 @@ export default function Relationship({ data }) {
|
|||||||
|
|
||||||
const pathRef = useRef();
|
const pathRef = useRef();
|
||||||
const labelRef = useRef();
|
const labelRef = useRef();
|
||||||
const relationshipType = data.lineType || "0";
|
const type = settings.notation === 'default' ? 0 : 10;
|
||||||
|
const relationshipType=(5,type);
|
||||||
let direction = 1;
|
let direction = 1;
|
||||||
let cardinalityStart = "1";
|
let cardinalityStart = "1";
|
||||||
let cardinalityEnd = "1";
|
let cardinalityEnd = "1";
|
||||||
|
Loading…
Reference in New Issue
Block a user