link components dynamically via graph