Home / Class/ NodeStyles Class — langchain Architecture

NodeStyles Class — langchain Architecture

Architecture documentation for the NodeStyles class in graph.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  6c68ce84_0fcb_c4ac_d2a2_441d0dad44bb["NodeStyles"]
  81a6280b_4752_84db_f1fa_1a3b8040d481["graph.py"]
  6c68ce84_0fcb_c4ac_d2a2_441d0dad44bb -->|defined in| 81a6280b_4752_84db_f1fa_1a3b8040d481

Relationship Graph

Source Code

libs/core/langchain_core/runnables/graph.py lines 155–166

class NodeStyles:
    """Schema for Hexadecimal color codes for different node types.

    Args:
        default: The default color code.
        first: The color code for the first node.
        last: The color code for the last node.
    """

    default: str = "fill:#f2f0ff,line-height:1.2"
    first: str = "fill-opacity:0"
    last: str = "fill:#bfb6fc"

Frequently Asked Questions

What is the NodeStyles class?
NodeStyles is a class in the langchain codebase, defined in libs/core/langchain_core/runnables/graph.py.
Where is NodeStyles defined?
NodeStyles is defined in libs/core/langchain_core/runnables/graph.py at line 155.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free