Closed SaturnusDJ closed 2 years ago
The high level library used is https://github.com/emiliorizzo/vue-d3-network, which does not export API to do force a node in the middle.
The low level library used is https://d3js.org/, which is possible to do this https://stackoverflow.com/questions/21843206/d3-force-layout-fix-root-node-at-the-center. But I don't see an easy way to integrate it into vue-d3-network.
Thank you for the explanation. What would be a follow up step to try to get this sorted out?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Similar to https://github.com/azuwis/zigbee2mqtt-networkmap/issues/13, possibly.
First of all, nice work. Great integration with HA, a lot easier than external methods.
When the map is displayed, the coordinator probably is not in the middle. It is a bit challenging to see quickly how the network is build.
When placing the coordinator in the middle, surrounded by routers, this becomes a lot easier.
Example: Removed some text due to privacy.
Here you see the coordinator instantly, then you see the 'trees' expanding away from it.