Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.js)]:Please remove the `main.js` file from the repo and add it to your .gitignore. Compiled release files shouldn't get mixed with source code in your commits and should go to the releases files instead.

[[1](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L483)][[2](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L492)][[3](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L623)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L597)][[2](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L599)][[3](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L600)][[4](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L601)][[5](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L602)][[6](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L604)][[7](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L607)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1691)]:Please remove anything from the sample plugin that you don't need.

[[1](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L256)][[2](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L594)][[3](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L597)][[4](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L607)][[5](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L828)][[6](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L885)][[7](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L957)][[8](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1028)][[9](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1029)][[10](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1034)][[11](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1042)][[12](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1049)][[13](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1055)][[14](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1093)][[15](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1094)][[16](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1095)][[17](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1098)][[18](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1121)][[19](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1504)][[20](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1505)][[21](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1506)][[22](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1507)][[23](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1555)][[24](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L1558)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L375)][[2](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L376)][[3](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L385)][[4](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L386)][[5](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L387)][[6](https://github.com/mossy1022/smart-connections-visualizer/blob/6c8339a9b478b45d65ce520de200b1a2e0113718/main.ts#L388)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.