@vue-flow/monorepo • Docs
Interface: BackgroundProps ​
Properties ​
bgColor? ​
optionalbgColor:string
Deprecated ​
- will be removed in the next major version. You can assign a bg color to
<VueFlow />directly instead. Background color
color? ​
optionalcolor:string
Background pattern color
gap? ​
optionalgap:number|number[]
Background pattern gap
height? ​
optionalheight:number
Deprecated ​
Background height
id? ​
optionalid:string
lineWidth? ​
optionallineWidth:number
offset? ​
optionaloffset:number| [number,number]
Background offset
patternColor? ​
optionalpatternColor:string
Deprecated ​
- will be removed in the next major version. Use
colorinstead Background pattern color
size? ​
optionalsize:number
Background pattern size
variant? ​
optionalvariant:"lines"|"dots"|BackgroundVariant
The background pattern variant
width? ​
optionalwidth:number
Deprecated ​
Background width
x? ​
optionalx:number
Background x-coordinate (offset x)
y? ​
optionaly:number
Background y-coordinate (offset y)