@if(!empty($node))
<div class="node">
    <div class="node-box">
        <div class="node-title">{{ $node['title'] }}</div>
        @if(!empty($node['assignee']))
            <div class="node-assignee">&#128100; {{ $node['assignee'] }}</div>
        @else
            <div class="node-vacant">&#128100; Vacant</div>
        @endif
        <div class="node-level">{{ $node['hierarchy_level_label'] }}</div>
    </div>
    @if(!empty($node['children']))
    <div class="children">
        @foreach($node['children'] as $child)
            @include('organization.organogram.partials.export-node', ['node' => $child])
        @endforeach
    </div>
    @endif
</div>
@endif
