# tfdf.model_plotter.DisplayOptions

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/decision-forests/blob/main/tensorflow_decision_forests/component/model_plotter/model_plotter.py#L51-L80) |

Display options.

    tfdf.model_plotter.DisplayOptions(
        margin=10,
        node_x_size=160,
        node_y_size=28,
        node_x_offset=180,
        node_y_offset=33,
        font_size=10,
        edge_rounding=20,
        node_padding=2,
        show_plot_bounding_box=False
    )

All the values are expressed in pixel.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `margin` | A `namedtuple` alias for field number 0 |
| `node_x_size` | A `namedtuple` alias for field number 1 |
| `node_y_size` | A `namedtuple` alias for field number 2 |
| `node_x_offset` | A `namedtuple` alias for field number 3 |
| `node_y_offset` | A `namedtuple` alias for field number 4 |
| `font_size` | A `namedtuple` alias for field number 5 |
| `edge_rounding` | A `namedtuple` alias for field number 6 |
| `node_padding` | A `namedtuple` alias for field number 7 |
| `show_plot_bounding_box` | A `namedtuple` alias for field number 8 |

<br />