English
@eightkk/vue-weave / core / renderTimelineSvg
Function: renderTimelineSvg()
renderTimelineSvg<
R,B>(rows,bars,dependencies,scale,options?):string
Defined in: src/core/exportSvg.ts:1082
Build a standalone SVG document of a timeline with the default rendering: row headings and columns, header bands and ticks, bars with progress, milestones, baselines, summaries, dependencies, markers, marker ranges, the now line and load rows. Every displayed row is included (collapsed descendants are omitted) unless rowRange narrows it. Runs without a DOM.
Type Parameters
R
R extends TimelineRow<unknown>
B
B extends TimelineBar<unknown>
Parameters
rows
readonly R[]
bars
readonly B[]
dependencies
readonly TimelineDependency[]
scale
options?
TimelineSvgOptions<R, B> = {}
Returns
string