Commit Graph

21 Commits

Author SHA1 Message Date
Dan Kortschak
97f387b38f graph/encoding: provide attribute handling out of the box 2021-06-04 07:45:54 +09:30
Dan Kortschak
e2a07cfc01 graph/encoding/dot: fix line visit marking 2020-12-02 06:12:09 +10:30
Dan Kortschak
4cb41c693f graph/encoding/dot: don't propagate edge-setting panics when unmarshaling DOT 2020-11-21 09:36:56 +10:30
Robin Eklind
24f0d081ca graph/encoding/dot: (un)quote attributes if needed during (un)marshal 2019-01-14 14:27:56 +10:30
Dan Kortschak
c64a0a7fc7 graph/encoding/dot: run go fmt -s 2018-12-12 21:38:20 +10:30
J. Holmes
b3c4e40467 graph/encoding/dot: add multigraph serialization and deserialization support 2018-11-25 07:31:56 +10:30
Dan Kortschak
609b9d63e8 encoding/dot: make all simple graph marshalling strict
Also fix bug in order of emitting strict keyword.
2018-10-29 23:16:49 +10:30
Dan Kortschak
259c560b35 graph/encoding/dot: add test for chained edge attributes 2018-07-16 11:50:45 +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
kortschak
7ba61f0ead graph/...: remove Weight method from Edge 2017-08-24 10:21:15 +09:30
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
39b486f179 graph: revert NewNodeID -> NewNode 2017-07-07 06:59:14 +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
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