Skip to content

Commit

Permalink
Update view.js (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Jul 5, 2024
1 parent f85f041 commit 4f7501c
Show file tree
Hide file tree
Showing 4 changed files with 394 additions and 266 deletions.
18 changes: 11 additions & 7 deletions source/grapher.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@
.node-item-undefined:hover { cursor: pointer; }
.node-item-undefined:hover path { fill: #fff; }

.node-attribute-list > path { fill: #fff; stroke-width: 0; stroke: #000; }
.node-attribute-list:hover { cursor: pointer; }
.node-attribute-list:hover > path { fill: #f6f6f6; }
.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; }
.node-argument-list > path { fill: #fff; stroke-width: 0; stroke: #000; }
.node-argument-list:hover { cursor: pointer; }
.node-argument-list:hover > path { fill: #f6f6f6; }
.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; }
.node-argument > rect { fill: none; }

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

.select > .node.node-border { stroke: #e00; stroke-width: 2px; }
.select.edge-path { stroke: #e00; stroke-width: 1px; marker-end: url("#arrowhead-select"); }
.select.node-argument > rect { stroke: #e00; }


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

.select > .node.node-border { stroke: #b00; }
.select.edge-path { stroke: #b00; }
.select.node-argument > rect { stroke: #b00; }

#arrowhead { fill: #888; }
#arrowhead-hover { fill: #b00; }
Expand All @@ -110,9 +114,9 @@
.node-item path { stroke: #fff; }
.node-item text { fill: #dfdfdf; }

.node-attribute > text { fill: #b2b2b2; }
.node-attribute-list > path { fill: #2d2d2d; }
.node-attribute-list:hover > path { fill: #666666; }
.node-argument > text { fill: #b2b2b2; }
.node-argument-list > path { fill: #2d2d2d; }
.node-argument-list:hover > path { fill: #303030; }

.graph-item-input path { fill: #404040; }
.graph-item-input:hover { cursor: pointer; }
Expand Down
Loading

0 comments on commit 4f7501c

Please sign in to comment.