88from operator import add
99
1010import dill
11+ import networkx as nx
1112import pytest
1213
1314from graphtik import base , compose , network , operation , plot
1617from graphtik .plot import (
1718 Plotter ,
1819 Style ,
19- get_active_plotter ,
2020 active_plotter_plugged ,
21+ get_active_plotter ,
2122)
2223
2324
@@ -433,8 +434,8 @@ def test_node_dot_str0(dot_str_pipeline):
433434 fontname=italic;
434435 label=<graph>;
435436 splines=ortho;
436- <edge> [shape=rect ];
437- <digraph: strict> [shape=rect ];
437+ <edge> [shape=invhouse ];
438+ <digraph: strict> [shape=invhouse ];
438439 <node> [label=<<TABLE CELLBORDER="0" CELLSPACING="0" STYLE="rounded">
439440 <TR>
440441 <TD BORDER="1" SIDES="b" ALIGN="left" TOOLTIP="FunctionalOperation(name='node', needs=['edge', 'digraph: strict'], provides=['<graph>'], fn='add')" TARGET=""
@@ -444,7 +445,7 @@ def test_node_dot_str0(dot_str_pipeline):
444445 ><B>FN:</B> <built-in function add></TD>
445446 </TR>
446447 </TABLE>>, shape=plain, tooltip=<node>];
447- <<graph>> [shape=rect ];
448+ <<graph>> [shape=house ];
448449 <cu:sto:m> [label=<<TABLE CELLBORDER="0" CELLSPACING="0" STYLE="rounded">
449450 <TR>
450451 <TD BORDER="1" SIDES="b" ALIGN="left" TOOLTIP="FunctionalOperation(name='cu:sto:m', needs=['edge', 'digraph: strict'], provides=['<graph>'], fn='func')" TARGET=""
@@ -483,8 +484,8 @@ def test_node_dot_str1(dot_str_pipeline, monkeypatch):
483484 fontname=italic;
484485 label=<graph>;
485486 splines=ortho;
486- <edge> [shape=rect ];
487- <digraph: strict> [shape=rect ];
487+ <edge> [shape=invhouse ];
488+ <digraph: strict> [shape=invhouse ];
488489 <node> [label=<<TABLE CELLBORDER="0" CELLSPACING="0" STYLE="rounded">
489490 <TR>
490491 <TD BORDER="1" SIDES="b" ALIGN="left" TOOLTIP="FunctionalOperation(name='node', needs=['edge', 'digraph: strict'], provides=['<graph>'], fn='add')" HREF="abc#{'dot_path': '_operator.add', 'posix_path': '_operator/add'}" TARGET="bad"
@@ -494,7 +495,7 @@ def test_node_dot_str1(dot_str_pipeline, monkeypatch):
494495 ><B>FN:</B> <built-in function add></TD>
495496 </TR>
496497 </TABLE>>, shape=plain, tooltip=<node>];
497- <<graph>> [shape=rect ];
498+ <<graph>> [shape=house ];
498499 <cu:sto:m> [label=<<TABLE CELLBORDER="0" CELLSPACING="0" STYLE="rounded">
499500 <TR>
500501 <TD BORDER="1" SIDES="b" ALIGN="left" TOOLTIP="FunctionalOperation(name='cu:sto:m', needs=['edge', 'digraph: strict'], provides=['<graph>'], fn='func')" HREF="abc#{'dot_path': 'test.test_plot.func', 'posix_path': 'test/test_plot/func'}" TARGET="bad"
0 commit comments