fperucic / treant-js

Treant.js - javascript library for drawing tree diagrams
MIT License
864 stars 314 forks source link

Can the connection between layers be personalized #127

Open YanKangMike opened 6 years ago

YanKangMike commented 6 years ago

image

I want to shorten the line in the red box!!!

image

fperucic commented 6 years ago

use levelSeparation option to contol the spacing

YanKangMike commented 6 years ago

when use levelSeparation option , the spacing between all levels is the same , but i want to the gap between different levels can be set by itself,like the second picture!