You may find the source code at https://github.com/Microsoft/PowerBI-visuals-core/tree/master/src/Clients/CustomVisuals/visuals/forceGraph. However, there are currently a few limitations to using the PowerBI command line tools. See API Roadmap and API Change Log for more information.