Skip to content

Commit

Permalink
Update flows_js.html
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmonMode committed Jun 7, 2020
1 parent 3220bba commit c1647f8
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions _includes/grey_box/flows_js.html
Expand Up @@ -68,28 +68,28 @@
var flowSvg = d3.select("#allFlowTests");
buildCircles(flowSvg);

circleAIndex = 20
circleBIndex = 24
isoSvg.selectAll("circle:nth-of-type(" + (circleAIndex + 1) + "), circle:nth-of-type(" + (circleBIndex + 1) + ")")
.attr("class", "permawhite");

var circleA = graph.nodes[circleAIndex];
var circleB = graph.nodes[circleBIndex];

var isoGraph = {
"nodes": [{
"x": circleA.x,
"y": circleA.y,
"parents": [],
"index": circleAIndex
}]
};
isoGraph.nodes.push({
"x": circleB.x,
"y": circleB.y,
"parents": [isoGraph.nodes[0]],
"index": circleBIndex
});
// circleAIndex = 20
// circleBIndex = 24
// isoSvg.selectAll("circle:nth-of-type(" + (circleAIndex + 1) + "), circle:nth-of-type(" + (circleBIndex + 1) + ")")
// .attr("class", "permawhite");

// var circleA = graph.nodes[circleAIndex];
// var circleB = graph.nodes[circleBIndex];

// var isoGraph = {
// "nodes": [{
// "x": circleA.x,
// "y": circleA.y,
// "parents": [],
// "index": circleAIndex
// }]
// };
// isoGraph.nodes.push({
// "x": circleB.x,
// "y": circleB.y,
// "parents": [isoGraph.nodes[0]],
// "index": circleBIndex
// });

var solutionSuiteCount = 0;
var flowSuiteCount = 0;
Expand Down

0 comments on commit c1647f8

Please sign in to comment.