Skip to content

Commit 50c1d5b

Browse files
committed
Update view.js (#1285)
1 parent f85f041 commit 50c1d5b

File tree

4 files changed

+395
-266
lines changed

4 files changed

+395
-266
lines changed

source/grapher.css

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@
5151
.node-item-undefined:hover { cursor: pointer; }
5252
.node-item-undefined:hover path { fill: #fff; }
5353

54-
.node-attribute-list > path { fill: #fff; stroke-width: 0; stroke: #000; }
55-
.node-attribute-list:hover { cursor: pointer; }
56-
.node-attribute-list:hover > path { fill: #f6f6f6; }
57-
.node-attribute > text { font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "PingFang SC"; font-size: 9px; font-weight: normal; text-rendering: geometricPrecision; user-select: none; }
54+
.node-argument-list > path { fill: #fff; stroke-width: 0; stroke: #000; }
55+
.node-argument-list:hover { cursor: pointer; }
56+
.node-argument-list:hover > path { fill: #f6f6f6; }
57+
.node-argument > text { font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "PingFang SC"; font-size: 9px; font-weight: normal; text-rendering: geometricPrecision; user-select: none; }
58+
.node-argument > rect { fill: transparent; }
5859

5960
.graph-item-input path { fill: #eee; }
6061
.graph-item-input:hover { cursor: pointer; }
@@ -72,6 +73,8 @@
7273

7374
.select > .node.node-border { stroke: #e00; stroke-width: 2px; }
7475
.select.edge-path { stroke: #e00; stroke-width: 1px; marker-end: url("#arrowhead-select"); }
76+
.select.node-argument > rect { fill: #e00; }
77+
.select.node-argument > text { fill: #f6f6f6; }
7578

7679
.edge-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "PingFang SC"; font-size: 10px; }
7780
.edge-path-control-dependency { stroke-dasharray: 3, 2; }
@@ -89,6 +92,8 @@
8992

9093
.select > .node.node-border { stroke: #b00; }
9194
.select.edge-path { stroke: #b00; }
95+
.select.node-argument > rect { fill: #b00; }
96+
.select.node-argument > text { fill: #b2b2b2; }
9297

9398
#arrowhead { fill: #888; }
9499
#arrowhead-hover { fill: #b00; }
@@ -110,9 +115,9 @@
110115
.node-item path { stroke: #fff; }
111116
.node-item text { fill: #dfdfdf; }
112117

113-
.node-attribute > text { fill: #b2b2b2; }
114-
.node-attribute-list > path { fill: #2d2d2d; }
115-
.node-attribute-list:hover > path { fill: #666666; }
118+
.node-argument > text { fill: #b2b2b2; }
119+
.node-argument-list > path { fill: #2d2d2d; }
120+
.node-argument-list:hover > path { fill: #303030; }
116121

117122
.graph-item-input path { fill: #404040; }
118123
.graph-item-input:hover { cursor: pointer; }

0 commit comments

Comments
 (0)