Warning: session_start(): open(/var/lib/php/sessions/sess_ng4ha0t12nbo5k7o2d70tk74tp, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sS inputDiagrams = [[
CirclesAndLines(circles=[Circle(text="Today's project", x=d("0.24927953890489912"), y=d("0.1760154738878143")), Circle(text="Showing", x=d("0.24639769452449567"), y=d("0.4816247582205029")), Circle(text="a JButton", x=d("0.5547550432276657"), y=d("0.4796905222437137")), Circle(text="an image", x=d("0.43948126801152737"), y=d("0.758220502901354")), Circle(text="a text", x=d("0.7103746397694525"), y=d("0.7620889748549323"))], lines=[Arrow(a=t5, b=t26, text="is"), Arrow(a=t26, b=t47, text=""), Arrow(a=t47, b=t68, text="with"), Arrow(a=t47, b=t89, text="with")], title="Today's project")
CirclesAndLines(circles=[Circle(text="What I can do", x=d("0.24927953890489912"), y=d("0.1760154738878143")), Circle(text="Showing", x=d("0.24639769452449567"), y=d("0.4816247582205029")), Circle(text="a JButton", x=d("0.5547550432276657"), y=d("0.4796905222437137")), Circle(text="a text", x=d("0.7103746397694525"), y=d("0.7620889748549323"))], lines=[Arrow(a=t5, b=t26, text="is"), Arrow(a=t26, b=t47, text=""), Arrow(a=t47, b=t68, text="with")], title="What I could already do")
CirclesAndLines(circles=[Circle(text="What I can do", x=d("0.24927953890489912"), y=d("0.1760154738878143")), Circle(text="Showing", x=d("0.24639769452449567"), y=d("0.4816247582205029")), Circle(text="a JButton", x=d("0.5547550432276657"), y=d("0.4796905222437137")), Circle(text="an image", x=d("0.41210374639769454"), y=d("0.758220502901354"))], lines=[Arrow(a=t5, b=t26, text="is"), Arrow(a=t26, b=t47, text=""), Arrow(a=t47, b=t68, text="with")], title="What I could already do 2")
]];
p-subst {
L webs = websFromCALStructures(inputDiagrams);
showTabbedWebs(webs);
print(web_starterNodes(first(webs)));
showAnimationInTopLeftCorner(#1010239, 5);
webs = map cloneWeb(webs);
L trees = map(webs, func(Web web) {
webTree_sortChildren(webTree_renameHead("*", web_makeTree(web_starterNode(web))))
});
//trees = webTrees_descendWhileSimilar(trees);
map web_printWebTree(trees);
//pnl(webTrees_walkInParallel(trees));
//pnl(webs_matchNodes(first(webs), second(webs)));
//pnl(webs_matchNodes(first(webs), last(webs)));
Pair diff1 = webs_differingNodes(first(webs), second(webs));
Pair diff2 = webs_differingNodes(first(webs), last(webs));
if (l(diff1) == 1 && l(diff2) == 1) {
Pair a = first(diff1), b = first(diff2);
if (a.a == b.a) {
WebNode node = a.a;
print("Looking at " + node);
}
}
}