File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 5656 class =" profiler-page-call-graph__toolbar profiler-page-call-graph__toolbar--right"
5757 >
5858 <label class =" profiler-page-call-graph__toolbar-input-wr" >
59- Threshold:
59+ Threshold
6060
6161 <input
6262 class =" profiler-page-call-graph__toolbar-input"
6363 type =" number"
6464 :value =" threshold"
6565 :min =" 0"
66- :max =" 100"
66+ :max =" 10"
67+ :step =" 0.1"
6768 @input =" setThreshold($event.target.value)"
6869 />
6970 </label >
@@ -155,11 +156,11 @@ export default defineComponent({
155156}
156157
157158.profiler-page-call-graph__toolbar {
158- @apply absolute top-5 left-5 flex bg-gray-200 p-2 rounded gap-x- 5;
159+ @apply absolute top-5 left-5 flex bg-gray-200 p-2 rounded gap-x-5 shadow-lg ;
159160}
160161
161162.profiler-page-call-graph__toolbar--right {
162- @apply right-5 left-auto ;
163+ @apply right-5 left-auto py- 1 ;
163164}
164165
165166.profiler-page-call-graph__toolbar-icon {
@@ -175,6 +176,6 @@ export default defineComponent({
175176}
176177
177178.profiler-page-call-graph__toolbar-input {
178- @apply border-b bg-transparent border -gray-600 text-gray-600 w- 8 ;
179+ @apply border-gray-600 text -gray-600 w-10 font-bold text-right bg- gray-300 ml-1 py-1 rounded ;
179180}
180181 </style >
Original file line number Diff line number Diff line change @@ -45,24 +45,26 @@ const stylesConfig: Stylesheet[] = [
4545 " text-wrap" : " wrap" ,
4646 width: " label" ,
4747 height: " label" ,
48- " border-width" : " 1px " ,
49- " border-color" : " #333 " ,
48+ " border-width" : " 2px " ,
49+ " border-color" : " #000 " ,
5050 },
5151 },
5252 {
5353 selector: " edge" ,
5454 style: {
5555 " line-color" : " data(color)" ,
5656 " background-color" : " data(color)" ,
57- " text-outline-width" : " 5px " ,
58- width: 1.5 ,
57+ " text-outline-width" : " 2px " ,
58+ width: 2 ,
5959 height: " label" ,
6060 " target-arrow-shape" : " triangle" ,
6161 " target-arrow-color" : " data(color)" ,
6262 content: " data(label)" ,
6363 color: " #fff" ,
64- " curve-style" : " bezier" ,
65- " loop-direction" : " 90deg" ,
64+ " curve-style" : " taxi" ,
65+ " taxi-direction" : " downward" ,
66+ " edge-distances" : " node-position" ,
67+ " control-point-distance" : " 5px" ,
6668 },
6769 },
6870];
@@ -94,7 +96,7 @@ export default defineComponent({
9496 name: " dagre" ,
9597 nodeSep: 10 ,
9698 edgeSep: 10 ,
97- rankSep: 50 ,
99+ rankSep: 80 ,
98100 rankDir: " TB" ,
99101 } as DagreLayoutOptions ,
100102 style: stylesConfig ,
@@ -113,8 +115,6 @@ export default defineComponent({
113115 this .hoverNodeData = null ;
114116 });
115117
116- cy .nodes ().ungrabify ();
117-
118118 this .renderer = cy ;
119119 },
120120 beforeUnmount() {
You can’t perform that action at this time.
0 commit comments