The D3Blocks library also contains various helper functions to get the data in the right shape for the desired chart.

vec2adjmat
#############

.. automodule:: d3blocks.d3blocks.D3Blocks.vec2adjmat
    :members:
    :undoc-members:



adjmat2vec
#############

.. automodule:: d3blocks.d3blocks.D3Blocks.adjmat2vec
    :members:
    :undoc-members:


Examples
#############

.. automodule:: d3blocks.d3blocks.D3Blocks.import_example
    :members:
    :undoc-members:


Saving Charts
#############

Each d3block contains saving functionality to save your chart to a SVG image.
The save functionality can be enabled by setting the ```save_button=True``` parameter.
After setting the save_button parameter, the output HTML will contain a save button that can be used accordingly.
In case you do not need the save button, disable it with ```save_button=False```.

.. include:: add_bottom.add