bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
6 lines (5 loc) • 362 B
TypeScript
import { Graph } from 'graphlib';
import { ExecutionOptions } from './options';
import { Component } from '../../component';
export declare function createSubGraph(components: Component[], options: ExecutionOptions, graph: Graph): Graph;
export declare function getNeighborsByDirection(id: string, g: Graph, direction?: 'predecessors' | 'successors'): string[];