Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import type { Component } from 'solid-js';
import { resolveAppearance, strokeDasharray } from '../../core/appearance';
import type { ShapeViewProps } from '../shape-renderers';
import { ShapeLabelView } from './label';
import type { TextContentView } from './text';
export const EllipseView: Component<
ShapeViewProps<'ellipse'> & {
hideLabel?: boolean;
contentView?: TextContentView;
}
> = (props) => (
<>
<svg width="100%" height="100%" style={{ overflow: 'visible' }}>
<ellipse
cx="50%"
cy="50%"
rx={props.item.geometry.width / 2}
ry={props.item.geometry.height / 2}
fill={props.item.appearance.fill}
stroke={props.item.appearance.stroke}
stroke-linecap="round"
stroke-dasharray={strokeDasharray(props.item.appearance)}
stroke-width={resolveAppearance(props.item.appearance).strokeWidth}
opacity={resolveAppearance(props.item.appearance).opacity}
/>
</svg>
<ShapeLabelView
item={props.item}
scale={props.scale}
hidden={props.hideLabel || props.preview}
contentView={props.contentView}
/>
</>
);