@graphty/graphty-element / config / NodeStyle
Variable: NodeStyle
constNodeStyle:ZodObject<{effect:ZodOptional<ZodObject<{flatShaded:ZodOptional<ZodBoolean>;glow:ZodOptional<ZodObject<{color:ZodOptional<ZodPipe<ZodString,ZodTransform<..., ...>>>;strength:ZodOptional<ZodNumber>; },$strict>>;outline:ZodOptional<ZodObject<{color:ZodOptional<ZodPipe<ZodString,ZodTransform<..., ...>>>;width:ZodOptional<ZodNumber>; },$strict>>;wireframe:ZodOptional<ZodBoolean>; },$strict>>;enabled:ZodOptional<ZodDefault<ZodBoolean>>;label:ZodOptional<ZodPrefault<ZodObject<{animation:ZodOptional<ZodDefault<ZodEnum<{bounce:"bounce";fill:"fill";glow:"glow";none:"none";pulse:"pulse";shake:"shake"; }>>>;animationSpeed:ZodOptional<ZodDefault<ZodNumber>>;attachOffset:ZodOptional<ZodDefault<ZodNumber>>;attachPosition:ZodOptional<ZodEnum<{bottom:"bottom";bottom-left:"bottom-left";bottom-right:"bottom-right";center:"center";left:"left";right:"right";top:"top";top-left:"top-left";top-right:"top-right"; }>>;autoSize:ZodOptional<ZodDefault<ZodBoolean>>;backgroundColor:ZodOptional<ZodUnion<[ZodDiscriminatedUnion<[..., ..., ...]>,ZodPipe<ZodString,ZodTransform<..., ...>>]>>;backgroundGradient:ZodOptional<ZodDefault<ZodBoolean>>;backgroundGradientColors:ZodOptional<ZodArray<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;backgroundGradientDirection:ZodOptional<ZodDefault<ZodEnum<{diagonal:"diagonal";horizontal:"horizontal";vertical:"vertical"; }>>>;backgroundGradientType:ZodOptional<ZodDefault<ZodEnum<{linear:"linear";radial:"radial"; }>>>;backgroundPadding:ZodOptional<ZodDefault<ZodNumber>>;badge:ZodOptional<ZodEnum<{count:"count";dot:"dot";icon:"icon";label:"label";label-danger:"label-danger";label-success:"label-success";label-warning:"label-warning";notification:"notification";progress:"progress"; }>>;billboardMode:ZodOptional<ZodDefault<ZodNumber>>;borderColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;borders:ZodOptional<ZodArray<ZodObject<{color:ZodPipe<..., ...>;spacing:ZodNumber;width:ZodNumber; },$strict>>>;borderWidth:ZodOptional<ZodDefault<ZodNumber>>;cornerRadius:ZodOptional<ZodDefault<ZodNumber>>;depthFadeEnabled:ZodOptional<ZodDefault<ZodBoolean>>;depthFadeFar:ZodOptional<ZodDefault<ZodNumber>>;depthFadeNear:ZodOptional<ZodDefault<ZodNumber>>;enabled:ZodOptional<ZodDefault<ZodBoolean>>;font:ZodOptional<ZodDefault<ZodString>>;fontSize:ZodOptional<ZodDefault<ZodNumber>>;fontWeight:ZodOptional<ZodDefault<ZodString>>;icon:ZodOptional<ZodString>;iconPosition:ZodOptional<ZodDefault<ZodEnum<{left:"left";right:"right"; }>>>;lineHeight:ZodOptional<ZodDefault<ZodNumber>>;location:ZodOptional<ZodDefault<ZodEnum<{automatic:"automatic";bottom:"bottom";bottom-left:"bottom-left";bottom-right:"bottom-right";center:"center";left:"left";right:"right";top:"top";top-left:"top-left";top-right:"top-right"; }>>>;marginBottom:ZodOptional<ZodDefault<ZodNumber>>;marginLeft:ZodOptional<ZodDefault<ZodNumber>>;marginRight:ZodOptional<ZodDefault<ZodNumber>>;marginTop:ZodOptional<ZodDefault<ZodNumber>>;maxNumber:ZodOptional<ZodDefault<ZodNumber>>;overflowSuffix:ZodOptional<ZodDefault<ZodString>>;pointer:ZodOptional<ZodDefault<ZodBoolean>>;pointerCurve:ZodOptional<ZodDefault<ZodBoolean>>;pointerDirection:ZodOptional<ZodDefault<ZodEnum<{auto:"auto";bottom:"bottom";left:"left";right:"right";top:"top"; }>>>;pointerHeight:ZodOptional<ZodDefault<ZodNumber>>;pointerOffset:ZodOptional<ZodDefault<ZodNumber>>;pointerWidth:ZodOptional<ZodDefault<ZodNumber>>;position:ZodOptional<ZodObject<{x:ZodNumber;y:ZodNumber;z:ZodNumber; },$strict>>;progress:ZodOptional<ZodNumber>;resolution:ZodOptional<ZodDefault<ZodNumber>>;smartOverflow:ZodOptional<ZodDefault<ZodBoolean>>;text:ZodOptional<ZodString>;textAlign:ZodOptional<ZodDefault<ZodEnum<{center:"center";left:"left";right:"right"; }>>>;textColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;textOutline:ZodOptional<ZodDefault<ZodBoolean>>;textOutlineColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;textOutlineJoin:ZodOptional<ZodDefault<ZodEnum<{bevel:"bevel";miter:"miter";round:"round"; }>>>;textOutlineWidth:ZodOptional<ZodDefault<ZodNumber>>;textPath:ZodOptional<ZodString>;textShadow:ZodOptional<ZodDefault<ZodBoolean>>;textShadowBlur:ZodOptional<ZodDefault<ZodNumber>>;textShadowColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;textShadowOffsetX:ZodOptional<ZodDefault<ZodNumber>>;textShadowOffsetY:ZodOptional<ZodDefault<ZodNumber>>; },$strict>>>;shape:ZodOptional<ZodObject<{size:ZodOptional<ZodNumber>;type:ZodOptional<ZodEnum<{box:"box";capsule:"capsule";cone:"cone";cylinder:"cylinder";dodecahedron:"dodecahedron";elongated_pentagonal_cupola:"elongated_pentagonal_cupola";elongated_pentagonal_dipyramid:"elongated_pentagonal_dipyramid";elongated_square_dipyramid:"elongated_square_dipyramid";geodesic:"geodesic";goldberg:"goldberg";hexagonal_prism:"hexagonal_prism";icosahedron:"icosahedron";icosphere:"icosphere";octahedron:"octahedron";pentagonal_dipyramid:"pentagonal_dipyramid";pentagonal_prism:"pentagonal_prism";pentagonal_pyramid:"pentagonal_pyramid";rhombicuboctahedron:"rhombicuboctahedron";sphere:"sphere";square_pyramid:"square_pyramid";tetrahedron:"tetrahedron";torus-knot:"torus-knot";triangular_dipyramid:"triangular_dipyramid";triangular_prism:"triangular_prism"; }>>; },$strict>>;texture:ZodOptional<ZodObject<{color:ZodOptional<ZodUnion<[ZodDiscriminatedUnion<[ZodObject<..., ...>,ZodObject<..., ...>,ZodObject<..., ...>]>,ZodPipe<ZodString,ZodTransform<... | ...,string>>]>>;icon:ZodOptional<ZodString>;image:ZodOptional<ZodURL>; },$strict>>;tooltip:ZodOptional<ZodPrefault<ZodObject<{animation:ZodOptional<ZodDefault<ZodEnum<{bounce:"bounce";fill:"fill";glow:"glow";none:"none";pulse:"pulse";shake:"shake"; }>>>;animationSpeed:ZodOptional<ZodDefault<ZodNumber>>;attachOffset:ZodOptional<ZodDefault<ZodNumber>>;attachPosition:ZodOptional<ZodEnum<{bottom:"bottom";bottom-left:"bottom-left";bottom-right:"bottom-right";center:"center";left:"left";right:"right";top:"top";top-left:"top-left";top-right:"top-right"; }>>;autoSize:ZodOptional<ZodDefault<ZodBoolean>>;backgroundColor:ZodOptional<ZodUnion<[ZodDiscriminatedUnion<[..., ..., ...]>,ZodPipe<ZodString,ZodTransform<..., ...>>]>>;backgroundGradient:ZodOptional<ZodDefault<ZodBoolean>>;backgroundGradientColors:ZodOptional<ZodArray<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;backgroundGradientDirection:ZodOptional<ZodDefault<ZodEnum<{diagonal:"diagonal";horizontal:"horizontal";vertical:"vertical"; }>>>;backgroundGradientType:ZodOptional<ZodDefault<ZodEnum<{linear:"linear";radial:"radial"; }>>>;backgroundPadding:ZodOptional<ZodDefault<ZodNumber>>;badge:ZodOptional<ZodEnum<{count:"count";dot:"dot";icon:"icon";label:"label";label-danger:"label-danger";label-success:"label-success";label-warning:"label-warning";notification:"notification";progress:"progress"; }>>;billboardMode:ZodOptional<ZodDefault<ZodNumber>>;borderColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;borders:ZodOptional<ZodArray<ZodObject<{color:ZodPipe<..., ...>;spacing:ZodNumber;width:ZodNumber; },$strict>>>;borderWidth:ZodOptional<ZodDefault<ZodNumber>>;cornerRadius:ZodOptional<ZodDefault<ZodNumber>>;depthFadeEnabled:ZodOptional<ZodDefault<ZodBoolean>>;depthFadeFar:ZodOptional<ZodDefault<ZodNumber>>;depthFadeNear:ZodOptional<ZodDefault<ZodNumber>>;enabled:ZodOptional<ZodDefault<ZodBoolean>>;font:ZodOptional<ZodDefault<ZodString>>;fontSize:ZodOptional<ZodDefault<ZodNumber>>;fontWeight:ZodOptional<ZodDefault<ZodString>>;icon:ZodOptional<ZodString>;iconPosition:ZodOptional<ZodDefault<ZodEnum<{left:"left";right:"right"; }>>>;lineHeight:ZodOptional<ZodDefault<ZodNumber>>;location:ZodOptional<ZodDefault<ZodEnum<{automatic:"automatic";bottom:"bottom";bottom-left:"bottom-left";bottom-right:"bottom-right";center:"center";left:"left";right:"right";top:"top";top-left:"top-left";top-right:"top-right"; }>>>;marginBottom:ZodOptional<ZodDefault<ZodNumber>>;marginLeft:ZodOptional<ZodDefault<ZodNumber>>;marginRight:ZodOptional<ZodDefault<ZodNumber>>;marginTop:ZodOptional<ZodDefault<ZodNumber>>;maxNumber:ZodOptional<ZodDefault<ZodNumber>>;overflowSuffix:ZodOptional<ZodDefault<ZodString>>;pointer:ZodOptional<ZodDefault<ZodBoolean>>;pointerCurve:ZodOptional<ZodDefault<ZodBoolean>>;pointerDirection:ZodOptional<ZodDefault<ZodEnum<{auto:"auto";bottom:"bottom";left:"left";right:"right";top:"top"; }>>>;pointerHeight:ZodOptional<ZodDefault<ZodNumber>>;pointerOffset:ZodOptional<ZodDefault<ZodNumber>>;pointerWidth:ZodOptional<ZodDefault<ZodNumber>>;position:ZodOptional<ZodObject<{x:ZodNumber;y:ZodNumber;z:ZodNumber; },$strict>>;progress:ZodOptional<ZodNumber>;resolution:ZodOptional<ZodDefault<ZodNumber>>;smartOverflow:ZodOptional<ZodDefault<ZodBoolean>>;text:ZodOptional<ZodString>;textAlign:ZodOptional<ZodDefault<ZodEnum<{center:"center";left:"left";right:"right"; }>>>;textColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;textOutline:ZodOptional<ZodDefault<ZodBoolean>>;textOutlineColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;textOutlineJoin:ZodOptional<ZodDefault<ZodEnum<{bevel:"bevel";miter:"miter";round:"round"; }>>>;textOutlineWidth:ZodOptional<ZodDefault<ZodNumber>>;textPath:ZodOptional<ZodString>;textShadow:ZodOptional<ZodDefault<ZodBoolean>>;textShadowBlur:ZodOptional<ZodDefault<ZodNumber>>;textShadowColor:ZodOptional<ZodDefault<ZodPipe<ZodString,ZodTransform<... | ...,string>>>>;textShadowOffsetX:ZodOptional<ZodDefault<ZodNumber>>;textShadowOffsetY:ZodOptional<ZodDefault<ZodNumber>>; },$strict>>>; },$strict>
Defined in: src/config/NodeStyle.ts:33