Mike Gerwitz
b2d87c5318
Re-order graph:dep-lookup arguments to favor partial application
...
* src/graph.xsl (graph:dep-lookup): Re-order arguments
* test/graph.xspec: Updated accordingly
2016-07-06 00:16:12 -04:00
Mike Gerwitz
e5da6f8ce1
Add graph:make-from-vertices
...
* src/graph.xsl (graph:make-from-vertices): Added
* test/graph-test.xsl (foo:graph-with-dupes): Added duplicate edges
* test/graph.xspec: Added tests
2016-07-06 00:16:12 -04:00
Mike Gerwitz
641147cd8f
graph:union normalize/dedupe test
...
This was already happening, but formally test and document it, since
it's a very useful property.
* src/graph.xsl (graph:union): Document dedupe behavior
* test/graph-test.xsl: Add test data
* test/graph.xspec: Add dedupe test for graph:union
2016-07-06 00:16:12 -04:00
Mike Gerwitz
bcf1e0457f
Move graph:dep-lookup into Package Subgraphs subsection
...
* src/graph.xsl (graph:dep-lookup): Moved into subsection with
introductory paragraph.
2016-07-06 00:16:11 -04:00
Mike Gerwitz
551e489c5f
Add graph:union
...
* src/graph.xsl (graph:union): Added
* test/graph-test.xsl: Test data added
* test/graph.xspec: Tests added
2016-07-06 00:14:53 -04:00
Mike Gerwitz
e34cf22d6b
Add graph:reverse
...
* src/graph.xsl: Added graph:reverse
* test/graph.xspec: Associated tests
* test/graph-test.xsl: Added test data
2016-07-06 00:14:50 -04:00
Mike Gerwitz
6bb4c05830
Add (beginning of) graph API
...
* doc/tame.texi: Add graph include.
* src/graph.xsl: Added.
* test/graph-test.xsl: Added.
* test/graph.xspec: Added.
2016-07-05 23:49:30 -04:00