fix: make graph algorithm
This commit is contained in:
parent
012381a7ab
commit
bb783cb6b8
@ -34,7 +34,7 @@ const getCurrentIndent = (
|
|||||||
if (!subIndent) {
|
if (!subIndent) {
|
||||||
currentIndent += point.edges.length * 100;
|
currentIndent += point.edges.length * 100;
|
||||||
} else {
|
} else {
|
||||||
bottomIndent += point.edges.length * 100;
|
bottomIndent += (point.edges.length - 1) * 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
point.edges.forEach((edge) => {
|
point.edges.forEach((edge) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user