pub fn draw(&self, options: &DrawOptions) -> String {
        let pd = self.draw_partial(options, 0, 0.0);

        format!(
            r#"<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="{}" height="{}" viewBox="{} {} {} {}">
<!-- 
    This file was generated by Spider Dance v{}.
-->
<style>
    text {{
        font-family: 'Courier New', Courier, monospace;
        text-anchor: middle;
    }}

    #name {{
        font-size: 50px;
        color: black;
        font-weight: bold;
    }}

    #branch {{
        stroke-width: 20px;
    }}
</style>

{}
</svg>"#,
            pd.max_x,
            pd.max_y,
            -options.x_space,
            -options.y_space,
            pd.max_x + options.x_space * 2.0,
            pd.max_y + options.y_space * 2.0,
            env!("CARGO_PKG_VERSION"),
            pd.content
        )
    }
// To draw a tree:
// - Find out the number of terminal nodes
// - Draw those spaced out evenly
// -

To draw a tree:
Find out the number of terminal nodes
Draw those spaced out evenly
To draw a tree : Find out the number of terminal nodes Draw those spaced out evenly
pub fn draw(&self, options: &DrawOptions) -> String {
        let pd = self.draw_partial(options, 0, 0.0);
        format!(
            r#"<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="{}" height="{}" viewBox="{} {} {} {}">
<!-- 
    This file was generated by Spider Dance v{}.
-->
<style>
    text {{
        font-family: 'Courier New', Courier, monospace;
        text-anchor: middle;
    }}
    #name {{
        font-size: 50px;
        color: black;
        font-weight: bold;
    }}
    #branch {{
        stroke-width: 20px;
    }}
</style>
{}
</svg>"#,
            pd.max_x,
            pd.max_y,
            -options.x_space,
            -options.y_space,
            pd.max_x + options.x_space * 2.0,
            pd.max_y + options.y_space * 2.0,
            env!("CARGO_PKG_VERSION"),
            pd.content
        )
    }
pub fn draw ( & self , options : & DrawOptions ) -> String { let pd = self . draw_partial ( options , 0 , 0.0 ) ; format ! ( r#"<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="{}" height="{}" viewBox="{} {} {} {}">
<!-- 
    This file was generated by Spider Dance v{}.
-->
<style>
    text {{
        font-family: 'Courier New', Courier, monospace;
        text-anchor: middle;
    }}

    #name {{
        font-size: 50px;
        color: black;
        font-weight: bold;
    }}

    #branch {{
        stroke-width: 20px;
    }}
</style>

{}
</svg>"# pd max_x pd max_y options x_space options y_space pd max_x options x_space 2.0 pd max_y options y_space 2.0 env ( " " ) pd content ) }
To draw a tree:
 Find out the number of terminal nodes
 Draw those spaced out evenly
To draw a tree : Find out the number of terminal nodes Draw those spaced out evenly
&self
options
&DrawOptions
&self
options
&DrawOptions