src/examples/renderer/client-side.js
function renderExample (divId, example) {
  var graph = graphs[example]

  var canvas = new Canvas(divId, {
    node: {
      DefaultNode: Node,
      InvalidNode,
      ToggleNode
    },
    util: { typeOfNode }
  })

  canvas.render(graph.view)

  dflow.fun(graph)()
}
function renderExample (divId, example) {
  var graph = graphs[example]

  var canvas = new Canvas(divId, {
    node: {
      DefaultNode: Node,
      InvalidNode,
      ToggleNode
    },
    util: { typeOfNode }
  })

  canvas.render(graph.view)

  dflow.fun(graph)()
}
function renderExample ( divId , example ) { var graph = graphs [ example ] var canvas = new Canvas ( divId , { node : { DefaultNode : Node , InvalidNode , ToggleNode } , util : { typeOfNode } } ) canvas . render ( graph . view ) dflow . fun ( graph ) ( ) }
Render example into given div and execute dflow graph.

@param {String} divId
@param {String} example

@returns {undefined}
Render example into given div and execute dflow graph .