feat(center-graphic): tunnel and bridge section shapes in simple examples
Deploy Storybook / deploy (push) Successful in 1m11s

- CompactFacilityConnection gets an optional segmentShape ('tunnel' |
  'bridge'); omitted keeps the narrow centre strip
- Tunnel: 30% rounded section with a white outline and a dot on each end
- Bridge: 30% square section with white end lines and a square mark at
  each end
This commit is contained in:
shkim4 committed 2026-10-26 20:15:10 +09:00
1 parent c56cfc4931
commit 6b60096752
4 files changed
+33 -4

No files matched your search

@@ -168,7 +168,7 @@ function TunnelSample({ title, note, children }: { title: string; note?: string;
function CompactTunnelExample() {
return (
<CompactFacilityConnection className="tunnel-applied-example" routeMode="inline" sourceStatus="SOURCE_RECEIVED" label="노선과 터널 시설물의 간략 적용 예제">
<CompactFacilityConnection className="tunnel-applied-example" routeMode="inline" segmentShape="tunnel" sourceStatus="SOURCE_RECEIVED" label="노선과 터널 시설물의 간략 적용 예제">
<TunnelFacility name="대산2터널" secondaryText="L=750m" variant="positionMap" />
</CompactFacilityConnection>
);