UNPKG

@visactor/vgrammar-core

Version:

VGrammar is a visual grammar library

3 lines (2 loc) 234 B
import type { IMark } from '../types'; export declare const traverseMarkTree: (rootMark: IMark, childrenKey: 'children' | 'layoutChildren', apply: (mark: IMark) => any, filter?: (mark: IMark) => boolean, leafFirst?: boolean) => void;