Skip to content

Commit 9d9329a

Browse files
committed
added colored arrows for function calls and function returns
added tooltip on hover added additional div for alternative visualizations on click cleaned up holistic.js cleaned up holistic.css
1 parent 101a4ec commit 9d9329a

2 files changed

Lines changed: 253 additions & 38 deletions

File tree

‎v3/css/holistic.css‎

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ div.HolisticVisualizer div#slider {
6868
height: 100%;
6969
overflow-x: scroll;
7070
vertical-align: top;
71-
width: 500px;
71+
width: 700px;
7272
}
7373

7474
div.HolisticVisualizer div#debug-panel {
@@ -85,10 +85,45 @@ div.HolisticVisualizer div#debug {
8585
overflow-y: scroll;
8686
}
8787

88+
div.HolisticVisualizer div#alt-visual {
89+
background-color: blue;
90+
display: none;
91+
font-size: 10pt;
92+
height: 400px;
93+
vertical-align: top;
94+
width: 400px;
95+
}
96+
97+
div.HolisticVisualizer #tooltip {
98+
-webkit-border-radius: 10px;
99+
-moz-border-radius: 10px;
100+
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
101+
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
102+
background-color: white;
103+
border-radius: 10px;
104+
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
105+
height: auto;
106+
padding: 10px;
107+
pointer-events: none;
108+
position: absolute;
109+
width: 200px;
110+
}
111+
112+
div.HolisticVisualizer #tooltip.hidden {
113+
display: none;
114+
}
115+
116+
div.HolisticVisualizer #tooltip p {
117+
margin: 0;
118+
font-family: sans-serif;
119+
font-size: 16px;
120+
line-height: 20px;
121+
}
122+
88123
div.HolisticVisualizer path {
124+
fill: none;
89125
stroke: steelblue;
90126
stroke-width: 1;
91-
fill: none;
92127
}
93128

94129
div.HolisticVisualizer .delimiter {

0 commit comments

Comments
 (0)