# ACTSVG tutorial

For this, ACTS needs to be built with the `actsvg` plugin on.
This can be done via a `CMake` flag.

```sh
-DACTS_BUILD_PLUGIN_ACTSVG=On
```

Then the following commands can be executed:

```python
import acts
from acts.examples.odd import getOpenDataDetector
from acts.examples import SvgTrackingGeometryWriter
detector = getOpenDataDetector()
trackingGeometry = detector.trackingGeometry()
svgConfig = SvgTrackingGeometryWriter.Config()
svgWriter = SvgTrackingGeometryWriter(svgConfig, acts.logging.INFO)
eventStore = acts.examples.WhiteBoard(name=f"EventStore0", level=acts.logging.INFO)
algContext = acts.examples.AlgorithmContext(0, 0, eventStore, 0)
svgWriter.write(algContext, trackingGeometry)
```
