Interface: ChordDiagramOptions
Defined in: src/mobjects/graphing/ChordDiagram.ts:158
Options for ChordDiagram.
Properties
arcOpacity?
optionalarcOpacity:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:178
Fill opacity of the group arcs. Default: 1.
colors?
optionalcolors:string|string[]
Defined in: src/mobjects/graphing/ChordDiagram.ts:176
Group colors. Single color applies to all, array cycles. Default: Manim palette.
flows?
optionalflows:ChordFlow[]
Defined in: src/mobjects/graphing/ChordDiagram.ts:162
Link-list input, used with groupCount when matrix is omitted.
gap?
optionalgap:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:172
Angular gap between groups, in radians. Default: 0.05.
groupCount?
optionalgroupCount:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:164
Number of groups, required with flows.
labelBuff?
optionallabelBuff:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:186
Gap between the ring and a label. Default: 0.3.
labelFontSize?
optionallabelFontSize:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:184
Font size for group labels. Default: 20.
labels?
optionallabels:string[]
Defined in: src/mobjects/graphing/ChordDiagram.ts:166
Group labels, by index. Default: [].
matrix?
optionalmatrix:number[][]
Defined in: src/mobjects/graphing/ChordDiagram.ts:160
Square flow matrix. matrix[i][j] is the flow from group i to group j.
radius?
optionalradius:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:168
Inner radius of the ring (ribbons are drawn inside it). Default: 2.5.
ribbonOpacity?
optionalribbonOpacity:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:180
Fill opacity of the ribbons. Default: 0.6.
ringWidth?
optionalringWidth:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:170
Thickness of the group ring. Default: 0.25.
showLabels?
optionalshowLabels:boolean
Defined in: src/mobjects/graphing/ChordDiagram.ts:182
Whether to draw group labels. Default: true when labels are given.
startAngle?
optionalstartAngle:number
Defined in: src/mobjects/graphing/ChordDiagram.ts:174
Angle of the first group's start edge, in radians. Default: Math.PI / 2.