betty.extension.trees package¶
Module contents¶
Provide interactive family trees by integrating Betty with Cytoscape.js.
- class betty.extension.trees.Trees[source]¶
Bases:
UserFacingExtension
,WebpackEntryPointProvider
Provide interactive family trees for use in web pages.
- Parameters:
project (
betty.project.Project
)args (
typing.Any
)kwargs (
typing.Any
)
- classmethod assets_directory_path() pathlib.Path [source]¶
Return the path on disk where the extension’s assets are located.
This may be anywhere in your Python package.
- Return type:
- classmethod depends_on() set[type[betty.project.extension.Extension]] [source]¶
The extensions this one depends on, and comes after.
- Return type:
- classmethod description() betty.locale.localizable.Localizable [source]¶
Get the human-readable extension description.
- Return type:
- classmethod label() betty.locale.localizable.Localizable [source]¶
Get the human-readable extension label.
- Return type:
- webpack_entry_point_cache_keys() collections.abc.Sequence[str] [source]¶
Get the keys that make a Webpack build for this provider unique.
Providers that can be cached regardless may
return ()
.- Return type:
- classmethod webpack_entry_point_directory_path() pathlib.Path [source]¶
Get the path to the directory with the entry point assets.
The directory must include at least a
package.json
andmain.ts
.- Return type: