Hacker News new | ask | show | jobs
by CmonDev 4699 days ago
Can you please give me an example that would support specifying graph elements in form of:

{ name: "", inputs : {}, outputs {} }

?

Specialized lib is always better. The best thing about noFlo is visualisation.

1 comments

I'm not sure I understand your syntax. Graphs are typically specified as relationships (edges) between nodes.

  a->b
  b->c
  d->c

  { name: "a", inputs : {}, outputs {"b"} }
  { name: "b", inputs : {"a"}, outputs {"c"} }
  { name: "c", inputs : {"b","d"}, outputs {} }
  { name: "d", inputs : {}, outputs {"c"} }
???
OK, tell me which lib takes whatever JSON and allows laying it out like NoFlo and allows custom styling of nodes AND connections (colors, icons, font other styling). Something higher-level then D3.