Skip to main content

Create a network graph

Due to the naivety of the layout logic for the network graphs, trying to graph all the applications in one diagram using the current layout would not scale very well. We recommend pulling the data out of the broker and using something like graphviz to visualise the relationships. Here is an example of pulling out the data from the DiUS hosted test Broker.

echo "digraph { ranksep=3; ratio=auto; overlap=false; node [  shape = plaintext, fontname = "Helvetica" ];" >
curl -v -u 'dXfltyFMgNOFZAxr8io9wJ37iUpY42M:O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1' | jq '.pacts[]._embedded | select( | contains("AWSSummiteer")) | + "->" +' | tr -d '"' | sed 's/-/_/g' | sed 's/_>/->/g' >>; echo "}" >>
dot -otest.png -Tpng
open test.png