"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
*!
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
import builtins as _builtins
import sys
import typing as _typing

if sys.version_info >= (3, 10):
    from typing import TypeAlias as _TypeAlias
else:
    from typing_extensions import TypeAlias as _TypeAlias

if sys.version_info >= (3, 13):
    from warnings import deprecated as _deprecated
else:
    from typing_extensions import deprecated as _deprecated

DESCRIPTOR: _descriptor.FileDescriptor

@_typing.final
class GraphVizChart(_message.Message):
    DESCRIPTOR: _descriptor.Descriptor

    SPEC_FIELD_NUMBER: _builtins.int
    USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
    ELEMENT_ID_FIELD_NUMBER: _builtins.int
    ENGINE_FIELD_NUMBER: _builtins.int
    spec: _builtins.str
    """A specification of the GraphViz graph in the "Dot" language."""
    @_builtins.property
    @_deprecated("""This field has been marked as deprecated using proto field options.""")
    def use_container_width(self) -> _builtins.bool:
        """DEPRECATED: We use widthConfig on Element.proto"""

    @use_container_width.setter
    @_deprecated("""This field has been marked as deprecated using proto field options.""")
    def use_container_width(self, value: _builtins.bool) -> None:
        """DEPRECATED: We use widthConfig on Element.proto"""

    element_id: _builtins.str
    """A unique ID of this element."""
    engine: _builtins.str
    """The engine used to layout and render the graph."""
    def __init__(
        self,
        *,
        spec: _builtins.str = ...,
        use_container_width: _builtins.bool = ...,
        element_id: _builtins.str = ...,
        engine: _builtins.str = ...,
    ) -> None: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["element_id", b"element_id", "engine", b"engine", "spec", b"spec", "use_container_width", b"use_container_width"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...

Global___GraphVizChart: _TypeAlias = GraphVizChart  # noqa: Y015
