NodeStyles#

class langchain_core.runnables.graph.NodeStyles(default: str = 'fill:#f2f0ff,line-height:1.2', first: str = 'fill-opacity:0', last: str = 'fill:#bfb6fc')[source]#

Schema for Hexadecimal color codes for different node types.

Parameters:
  • default (str) – The default color code. Defaults to “fill:#f2f0ff,line-height:1.2”.

  • first (str) – The color code for the first node. Defaults to “fill-opacity:0”.

  • last (str) – The color code for the last node. Defaults to “fill:#bfb6fc”.

Attributes

default

first

last

Methods

__init__([default, first, last])

__init__(default: str = 'fill:#f2f0ff,line-height:1.2', first: str = 'fill-opacity:0', last: str = 'fill:#bfb6fc') None#
Parameters:
  • default (str) –

  • first (str) –

  • last (str) –

Return type:

None