Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer handles SVG generation
func NewRenderer ¶
func NewRenderer(config *decision_tree.Config) *Renderer
NewRenderer creates a new SVG renderer
func (*Renderer) RenderTree ¶
func (r *Renderer) RenderTree(root *decision_tree.Node) string
RenderTree generates SVG for the entire tree
func (*Renderer) SetCenterParent ¶
SetCenterParent sets whether parent nodes should be centered over their children
Click to show internal directories.
Click to hide internal directories.