Skip to content

Commit d64e1d8

Browse files
committed
Edge attributes also
1 parent 044675f commit d64e1d8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/viz/test/graph-objects.test.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,13 @@ describe("Viz", function() {
280280
subgraphs: [
281281
{
282282
graphAttributes: {
283-
color: "green"
283+
color: "red"
284284
},
285285
nodeAttributes: {
286-
color: "red"
286+
color: "green"
287+
},
288+
edgeAttributes: {
289+
color: "blue"
287290
},
288291
nodes: [
289292
{ name: "a" }
@@ -298,8 +301,9 @@ describe("Viz", function() {
298301
graph [bb="0,0,54,36"];
299302
node [label="\\N"];
300303
{
301-
graph [color=green];
302-
node [color=red];
304+
graph [color=red];
305+
node [color=green];
306+
edge [color=blue];
303307
a [height=0.5,
304308
pos="27,18",
305309
width=0.75];

0 commit comments

Comments
 (0)