[new] [ux]

Exploring CytoScape (js)

  • Ach wat?

Mijn CytoScape

History (before 2017-09-17)

Dit wil ik. Kan dat met cytoscape js?

In the Docs

Citeer ons, aub

  • Cytoscape.js: a graph theory library for visualisation and analysis. Franz M, Lopes CT, Huck G, Dong Y, Sumer O, Bader GD
  • in Bioinformatics (2016) 32 (2): 309-311
  • first published online September 28, 2015 doi:10.1093/bioinformatics/btv557 (PDF)

In de snippets code

Graph spec

De spec is fijn want bekend formalisme. We kennen het van json, python (dict), js (object)

elements: {
    nodes: [
      { data: { id: 'cat' } },
      { data: { id: 'bird' } },
      { data: { id: 'ladybug' } },
      { data: { id: 'aphid' } },
      { data: { id: 'rose' } },
      { data: { id: 'grasshopper' } },
      { data: { id: 'plant' } },
      { data: { id: 'wheat' } }
    ],
    edges: [
      { data: { source: 'cat', target: 'bird' } },
      { data: { source: 'bird', target: 'ladybug' } },
      { data: { source: 'bird', target: 'grasshopper' } },
      { data: { source: 'grasshopper', target: 'plant' } },
      { data: { source: 'grasshopper', target: 'wheat' } },
      { data: { source: 'ladybug', target: 'aphid' } },
      { data: { source: 'aphid', target: 'rose' } }
    ]
  },
( by kred to Devs at 2017-08-05 21:33:44 in ux )

International money transfers? Worldremit beats your bank!

Domains, Hosting? Go Versio!

[Login to add a comment]
[new]