UNPKG

bpmn-js

Version:

A bpmn 2.0 toolkit and web modeler

22 lines (19 loc) 574 B
/** * Return the parent of the element with any of the given types. * * @param element * @param anyType * * @return */ export function getParent(element: Element, anyType: string | string[]): Element | null; /** * Determines if the local modeling direction is vertical or horizontal. * * @param element * * @return false for vertical pools, lanes and their children. true otherwise */ export function isDirectionHorizontal(element: Element): boolean; type Element = import('../../../model/Types').Element; export { is, isAny } from "../../../util/ModelUtil";