File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 296296
297297.node .badge-value {
298298 fill : # ffffff ;
299- font-size : 12 px ;
299+ font-size : 11 px ;
300300 font-weight : bold;
301301 text-anchor : middle;
302302 dominant-baseline : middle;
Original file line number Diff line number Diff line change @@ -169,20 +169,14 @@ export default function GraphView({
169169
170170 nodeElements . append ( 'circle' )
171171 . attr ( 'class' , 'badge in-degree-badge' )
172- . attr ( 'cx' , 24 )
173- . attr ( 'cy' , - 24 )
174- . attr ( 'r' , 14 ) ;
175-
176- nodeElements . append ( 'text' )
177- . attr ( 'class' , 'badge-label' )
178- . attr ( 'x' , 24 )
179- . attr ( 'y' , - 24 )
180- . text ( '入' ) ;
172+ . attr ( 'cx' , 28 )
173+ . attr ( 'cy' , - 28 )
174+ . attr ( 'r' , 12 ) ;
181175
182176 nodeElements . append ( 'text' )
183177 . attr ( 'class' , 'badge-value in-degree-value' )
184- . attr ( 'x' , 24 )
185- . attr ( 'y' , - 16 )
178+ . attr ( 'x' , 28 )
179+ . attr ( 'y' , - 24 )
186180 . text ( '0' ) ;
187181
188182 simulation . on ( 'tick' , ( ) => {
You can’t perform that action at this time.
0 commit comments