import React from 'react'; import { PACKAGE_BOUNDARY_FILL, PACKAGE_BOUNDARY_STROKE, PACKAGE_BOUNDARY_STROKE_WIDTH, PACKAGE_BOUNDARY_DASH, PACKAGE_LABEL_COLOR, PACKAGE_LABEL_FONT_SIZE, } from './constants'; interface PackageBoundariesProps { packageBounds: Record; } /** * Renders the circular boundaries and labels for package groups in the force-directed graph. * * @lastUpdated 2026-03-18 */ export const PackageBoundaries: React.FC = ({ packageBounds, }) => { if (!packageBounds || Object.keys(packageBounds).length === 0) return null; return ( {Object.entries(packageBounds).map(([pid, b]) => ( {pid.replace(/^pkg:/, '')} ))} ); }; PackageBoundaries.displayName = 'PackageBoundaries';