MCPcopy Create free account
hub / github.com/Zleap-AI/SAG / compareEvents

Function compareEvents

web/src/components/ProjectGraphFlow.tsx:633–635  ·  view source on GitHub ↗
(a?: ProjectGraphEventRecord, b?: ProjectGraphEventRecord)

Source from the content-addressed store, hash-verified

631}
632
633function compareEvents(a?: ProjectGraphEventRecord, b?: ProjectGraphEventRecord) {
634 return (a?.rank ?? 0) - (b?.rank ?? 0) || (a?.title ?? "").localeCompare(b?.title ?? "");
635}
636
637function MetricChip({ label, value }: { label: string; value: number }) {
638 return (

Callers 2

ProjectGraphCanvasFunction · 0.85
buildVisibleGraphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected