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