UNPKG
1e14
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
Minimal API for building function graphs
github.com/1e14/1e14
1e14/1e14
1e14
/
dist
/
types
/
Node.d.ts
12 lines
(11 loc)
•
290 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
InPorts
}
from
"./InPorts"
;
import
{
OutPorts
}
from
"./OutPorts"
;
/** * Single node, atomic or composite. * Nodes expose input and output ports that may be connected to each other. *
@see
connect
*/
export
declare
type
Node
<I, O> = {
i
:
InPorts
<I>;
o
:
OutPorts
<O>; };