Skip to content

Vertical Cluster List

κΉ€κΈ°ν•œ edited this page Sep 14, 2022 · 4 revisions

Description

스크란샷 2022-09-14 α„‹α…©α„Œα…₯ᆫ 3 30 42

μœ„ μ΄λ―Έμ§€μ—μ„œ λΉ¨κ°„ μ‚¬κ°ν˜• μ˜μ—­ μ•ˆ λΆ€λΆ„μž…λ‹ˆλ‹€.

μ™Όμͺ½ Graph와 였λ₯Έμͺ½ Summaryκ°€ μ‘΄μž¬ν•©λ‹ˆλ‹€.

Graphλ‚˜ Summaryλ₯Ό ν΄λ¦­ν•˜λ©΄ μ•„λž˜μ— Detail μ»΄ν¬λ„ŒνŠΈκ°€ 보이고 Statistics μ»΄ν¬λ„ŒνŠΈ μ—­μ‹œ μ—¬κΈ°μ„œ μ„ νƒλœ cluster의 데이터 톡계λ₯Ό λ³΄μ—¬μ€λ‹ˆλ‹€.

Graph와 Summary의 μžμ„Έν•œ μ„€λͺ…은 μ•„λž˜μ—μ„œ κ³„μ†λ©λ‹ˆλ‹€.

Collapsable Graph

@vgihan λ‹˜

ezgif com-gif-maker(3)
  • 각 Cluster Size의 μ‹œκ°ν™”λ₯Ό λ‹΄λ‹Ήν•˜λŠ” λΆ€λΆ„μž…λ‹ˆλ‹€.
  • ClusterλŠ” μ—¬λŸ¬ 개의 Commit을 ν¬ν•¨ν•˜κ³ , ν¬ν•¨λœ Commit의 개수둜 Cluster Sizeκ°€ κ²°μ •λ©λ‹ˆλ‹€.
  • ν•˜λ‚˜μ˜ Clusterλ₯Ό λ‚˜νƒ€λ‚΄λŠ” boxλŠ” 내뢀에 μ±„μ›Œμ§„ cell의 크기둜써 Cluster Sizeλ₯Ό ν‘œν˜„ν•©λ‹ˆλ‹€.
  • max 값은 10으둜써, Cluster Sizeκ°€ 10 이상이면 boxλ₯Ό λͺ¨λ‘ μ±„μ›λ‹ˆλ‹€.
  • μ—°μ†λœ Clusterκ°€ μ—°κ²°λœ λŠλ‚Œμ„ μ£ΌκΈ° μœ„ν•΄ link line을 μΆ”κ°€ν–ˆκ³ , λ§ˆμ§€λ§‰ elementλŠ” linkκ°€ μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
  • ν΄λ¦­ν•˜μ—¬ Detail μ»΄ν¬λ„ŒνŠΈκ°€ νŽΌμ³μ§€λ©΄ linkκ°€ λŠ˜μ–΄λ‚˜λ©° Detail을 λ³΄μ—¬μ€λ‹ˆλ‹€.

Using Type

import type { BaseType, Selection } from "d3";

import type { ClusterNode } from "types";

export type ClusterGraphElement = {
  cluster: ClusterNode;
  clusterSize: number;
  selected: number;
};

export type SVGElementSelection<T extends BaseType> = Selection<
  T | BaseType,
  ClusterGraphElement,
  SVGSVGElement | null,
  unknown
>;

Profile & Summary

@jejecrunch λ‹˜

ezgif com-gif-maker (4)

commit author의 이름과 ν΄λŸ¬μŠ€ν„° 맨 λ§ˆμ§€λ§‰μ˜ commit messageκ°€ λ³΄μ—¬μ§‘λ‹ˆλ‹€.

cluster μ•ˆμ— commit이 1개면 + n more을 좜λ ₯ν•˜μ§€ μ•ŠμœΌλ©°, 2개 μ΄μƒμ˜ κ²½μš°λŠ” + n more을 좜λ ₯ν•©λ‹ˆλ‹€.

μ΄λ•Œ commit author의 경우 clusterλ³„λ‘œ κ°€κ³΅ν•˜κ³  있으며, μ€‘λ³΅λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

또 commit author의 background-colorλŠ” ν˜„μž¬ 15가지이며 이에 λŒ€ν•œ λ°©μ•ˆμ€ ν”„λ‘œν•„ μ΄λ―Έμ§€λ‘œ μƒκ°ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.

Using Type

export type Keyword = {
  keyword: string;
  count: number;
};

export type Content = {
  message: string;
  count: number;
};

export type Summary = {
  authorNames: Array<Array<string>>;
  content: Content;
};

export type Cluster = {
  clusterId: number;
  summary: Summary;
};

Clone this wiki locally