What do you guys do when it's raining on a Sunday afternoon, your significant other is busy and you have nothing else to watch on Disney+? In my case, I bought a monthly subscription to Claude Max 5x.
I had just canceled my yearly subscription to GitHub Copilot Pro (you can get a prorated refund if you cancel before May 20th, in case you're interested), I was trying out OpenCode Go but I was looking for something more, so I decided to splurge and see what the hype was all about.
I had just read an interesting question on the BC Professionals Discord about JavaScript libraries to draw a BOM in Business Central and I wanted to see if Mermaid (AKA the only library I knew to do something like that) was up to the task.
The result was meh (I tried with a big BOM and the diagram felt too crowded), so I asked Claude to suggest a different library and change the implementation. It went with Cytoscape and Dagre. Better result. Then I asked to to implement an interface so one could choose between the two, asked it questions about the libraries licensing (they're both MIT btw), ...I wasn't really careful about my prompting because I was both interested in grasping what was different between Claude Code and GitHub Copilot, and also I didn't really have a clear project in mind and I was winging it.
After a while, I started tinkering with the commands and found /insights, which analyzes your Claude Code sessions and generates a report. I tried it, only to be dissed by my paid subscription:
On your side, requirements (architecture, library choice, licensing) tend to emerge mid-build rather than being defined upfront, which forces rip-and-replace work—sketching the interface and constraints first would let you evaluate options cheaply before committing. The license_question goal appeared twice, indicating you only checked licensing after committing to libraries.
Dissing aside, I think it's valuable feedback in order to get better at using these new tools. Anyway, here's the POC for drawing assembly and production BOMs as diagrams. There's a control add-in that renders diagrams with one of two libraries you can choose from a setup. Mermaid is more static and looks better for smaller BOMs, while Dagre with Cytoscape allows for way more customization. Both let you navigate to the card and with Cytoscape you can even access the Where-Used page.
Check out the source code and try it out for yourself!