Skip to content

Add Guide and Documentation on using Custom Tree Models #66

@mmschlk

Description

@mmschlk

We need an easy-to-find guide on how to add custom tree models that we are not nativlely supporting to the repository. This should be accessible in the documentation. I think the best way to do this would be a dedicated notebook file.

Custom trees can be used either as a dict or as a manually instantiated TreeModel objects. The relevant lines in validation are as follows:

if type(model).__name__ == "TreeModel":
return model

if type(model).__name__ == "dict":
return TreeModel(**model)

Metadata

Metadata

Assignees

Labels

documentation 📚Improvements or additions to documentation

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions