Commit Graph

28 Commits

Author SHA1 Message Date
Dan Kortschak
4cb41c693f graph/encoding/dot: don't propagate edge-setting panics when unmarshaling DOT 2020-11-21 09:36:56 +10:30
Dan Kortschak
b34a300801 all: fix capitalisation of Gonum
This fixes the capitalisation of Gonum where it refers to the project rather
than the GitHub organisation or repository. The text of CONTRIBUTORS also
is fixed to reflect the reality that contributors may have contributed to
other repositories within the project.
2019-11-16 21:25:28 +10:30
Dan Kortschak
761876748e graph: make edges and lines reversible 2019-03-13 07:14:55 +10:30
Dan Kortschak
bb6edb12aa graph/encoding/dot: refactor quoting docs (#797) 2019-01-14 13:11:29 +01:00
Robin Eklind
24f0d081ca graph/encoding/dot: (un)quote attributes if needed during (un)marshal 2019-01-14 14:27:56 +10:30
Robin Eklind
ff0fdabd90 encoding/dot: set DOT node ID before adding node to graph (#775)
This makes it possible to implement the AddNode method of
graph.NodeAdder to track the nodes of a graph by DOT node
ID, as they are added.
2018-12-23 00:19:38 +01:00
Dan Kortschak
4fc8509578 encoding/dot: pass returned error up call stack
This should probably use a rich error strategy, but we can leave that for
when the Go error handling experiments are more fully developed.
2018-11-25 18:52:21 +10:30
Dan Kortschak
cdf8233f4e encoding/dot: always allow first graph to be returned 2018-11-25 18:52:21 +10:30
J. Holmes
b3c4e40467 graph/encoding/dot: add multigraph serialization and deserialization support 2018-11-25 07:31:56 +10:30
mewmew
d75fc496fb graph/encoding/dot: add attributes for edge chains
Fixes #545.
2018-07-16 08:27:13 +09:30
Dan Kortschak
438fe0c5f4 encoding/dot: run gofmt 2018-06-07 17:58:20 +09:30
J. Holmes
cb2511e4c8 encoding/dot: support edge ports on Unmarshal/decode 2018-04-16 14:31:32 +09:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Robin Eklind
f786e6cd3c graph/encoding/dot: store graph DOT ID if present (#237)
Add round trip test case for graph DOT ID.
2017-09-28 10:02:53 +02:00
mewmew
0ebdd59ba5 graph: move NewEdge method from encoding.Builder to graph.EdgeAdder
Also rename graph.EdgeSetter to graph.EdgeAdder.

Fixes #56.
2017-08-18 03:51:30 +02:00
kortschak
4d30eb012e graph/encoding: rename decoding API in encoding package 2017-08-04 11:08:07 +09:30
kortschak
8e3d6da27f graph/encoding: move basic encoding API into new encoding package 2017-08-03 18:57:33 +09:30
kortschak
185d1d1b99 graph/encoding/dot: fix NewNode use in tests and decoding 2017-07-21 17:34:05 +09:30
kortschak
14abf35139 graph/formats/dot: rename Kind* => *Kind 2017-07-19 18:12:06 +09:30
kortschak
39b486f179 graph: revert NewNodeID -> NewNode 2017-07-07 06:59:14 +09:30
kortschak
25c06a99f7 graph/encoding: update for int64 IDs 2017-07-02 08:38:42 +09:30
kortschak
619e137c2c graph,graph/{encoding/dot,internal/set,topo,traverse}: remove intsets imports 2017-06-16 19:39:51 +09:30
Dan Kortschak
2942f5c623 graph/encoding/dot: allow unmarshalling of DOT IDs 2017-06-09 20:01:14 +09:30
kortschak
9e16ba4ad2 graph/encoding/dot: allow unmarshaling of global attributes 2017-06-09 08:07:23 +09:30
kortschak
d49f26e4f8 graph/endcoding/dot: tidy up decode code/docs 2017-06-08 17:41:56 +09:30
kortschak
e1b11c54bb graph/encoding/dot: fix gofmt 2017-05-26 14:05:05 +09:30
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
059a6c43f9 graph: imported graph as a subtree 2017-05-23 00:02:59 -06:00