MCPcopy Create free account
hub / github.com/microsoft/TypeChat / Arrow

Class Arrow

python/examples/drawing/schema.py:55–65  ·  view source on GitHub ↗

A line with a directional arrow at the end, defined by start and end points.

Source from the content-addressed store, hash-verified

53
54@dataclass
55class Arrow:
56 """A line with a directional arrow at the end, defined by start and end points."""
57
58 type: Literal["Arrow"]
59
60 start_x: Annotated[int, Doc("Starting X-coordinate.")]
61 start_y: Annotated[int, Doc("Starting Y-coordinate.")]
62 end_x: Annotated[int, Doc("Ending X-coordinate.")]
63 end_y: Annotated[int, Doc("Ending Y-coordinate.")]
64 style: Annotated[Optional[Style], Doc("Optional style settings for the arrow.")] = None
65 head_size: Annotated[Optional[int], Doc("Size of the arrowhead, if present.")] = None
66
67
68@dataclass

Callers 1

render.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…