Package tulip :: Package transys :: Package export :: Module save_d3
[frames] | no frames]

Module save_d3

Export html containing d3.js animating SVG

Functions
 
labeled_digraph2d3(graph, html_file_name='index.html')
Export to SVG embedded in HTML, animated with d3.js
Variables
  __package__ = 'tulip.transys.export'
Function Details

labeled_digraph2d3(graph, html_file_name='index.html')

 

Export to SVG embedded in HTML, animated with d3.js

Example

From examples/transys/machine_examples.py call:

>>> m = garage_counter_with_state_vars()

Then export to html:

>>> m.save('index.html', 'html')

See Also

FSM, BA, Mealy

Parameters: