Skip to content
Cytoscape (Network) templates

Biology — Disease Contact Network

A contact graph showing how an infection can spread.

Template previewCytoscape (Network)
Rendering…

Make it your own.

{
  "elements":[
    {"data":{"id":"p0","label":"Index case"}},
    {"data":{"id":"a","label":"Contact A"}},
    {"data":{"id":"b","label":"Contact B"}},
    {"data":{"id":"c","label":"Contact C"}},
    {"data":{"id":"d","label":"Contact D"}},
    {"data":{"id":"e","label":"Contact E"}},
    {"data":{"source":"p0","target":"a"}},
    {"data":{"source":"p0","target":"b"}},
    {"data":{"source":"a","target":"c"}},
    {"data":{"source":"a","target":"d"}},
    {"data":{"source":"b","target":"e"}},
    {"data":{"source":"d","target":"e"}}
  ],
  "layout":{"name":"breadthfirst","directed":true}
}