import React from "react"; import { cx } from '@emotion/css'; import { branchClass } from "./style"; import { AddButton } from "./AddButton"; import { Node } from './nodes'; export function Branch({ from = null, entry = null, branchIndex = null, controller = null }) { const list = []; for (let node = entry; node; node = node.downstream) { list.push(node); } return (
{controller}
{list.map(item => )}
); }