@if (edge !== null) {
@if (ref.children !== null && ref.children.length === 0) { }
}