A complex network-based approach for resilient and flexible design resource allocation in industry 5.0