
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@oncokb/oncotree
Advanced tools
OncoTree is a visualisation tool for displaying the hierarchical structure of cancer types, displaying these relationships in tree format. This library comes with an `OncoTree` object to be used for displaying and interacting with the tree as well as util
OncoTree is a visualisation tool for displaying the hierarchical structure of cancer types, displaying these relationships in tree format. This library comes with an OncoTree
object
to be used for displaying and interacting with the tree as well as utility methods to build default UI components that may be used to interact with the tree (the functionality exposed by
these UI components was created completely using the public APIs exposed by the OncoTree
object).
npm install oncotree
# or
yarn add oncotree
import OncoTree, { buildSearchBar, buildToolbar } from 'oncotree';
import treeData from 'tree-data.json';
const oncoTree = new OncoTree('tree-id', treeData);
// if using default UI components
buildSearchBar('search-bar-id', oncoTree, searchBarOptions);
buildToolbar('toolbar-id', oncoTree);
For further documentation, see oncotree.d.ts.
Before you begin, make sure you have the following installed
Since this is a library, this package simply exports functionality i.e. the code shipped in this package is not intended to be executed independently. However, index.html
provides a sandbox environment to use during development. To begin, simply run the following:
npm install && npm run dev
Note: This project uses eslint to find issues. While there is a GitHub action to make sure the code passes the linting process, it is recommended to install an extension that shows these errors in your editor to view these issues before making a commit.
Bump version number in package.json, and commit changes.
Run the following:
npm run build && npm publish --access public
npm run test
FAQs
OncoTree is a visualisation tool for displaying the hierarchical structure of cancer types, displaying these relationships in tree format. This library comes with an `OncoTree` object to be used for displaying and interacting with the tree as well as util
The npm package @oncokb/oncotree receives a total of 1 weekly downloads. As such, @oncokb/oncotree popularity was classified as not popular.
We found that @oncokb/oncotree demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.