UNPKG

flowviz

Version:

A framework which provides seamless integration with other phylogenetic tools and frameworks, while allowing workflow scheduling and execution, through the Apache Airflow workflow system.

16 lines (13 loc) 356 B
import * as React from "react"; import Library from "./library"; import Api from "./api"; export default function ToolFunctions({ tool }) { const type = tool.access._type; const library = tool.library; const api = tool.api; return type === "api" ? ( <Api api={api} /> ) : ( <Library name={tool.general.name} library={library} /> ); }