Dan Kortschak
97f387b38f
graph/encoding: provide attribute handling out of the box
2021-06-04 07:45:54 +09:30
Dan Kortschak
80ff04b367
graph/encoding/dot: don't panic when an Attributers returns a nil
2021-05-27 07:13:10 +09:30
Dan Kortschak
03398562de
all: clean up lint identified by ruleguard
...
Ruleguard run with ruleguard -c=0 -rules ruleguard.rules.go ./... from
https://github.com/dgryski/semgrep-go with the following rules inactivated
to reduce noise:
- unconvert for floating point values
- oddcomparisons
- floateq
2021-05-19 05:44:58 +09:30
Dan Kortschak
c833bade6c
graph/encoding/dot: add tests for empty graphs
2021-03-20 09:19:30 +10:30
Dan Kortschak
623f346311
graph: clean up lint
2019-11-02 05:20:20 +10:30
Dan Kortschak
761876748e
graph: make edges and lines reversible
2019-03-13 07:14:55 +10:30
Dan Kortschak
03f4920c3e
graph/encoding/dot: ensure that generated DOT is syntactically valid ( #795 )
2019-01-14 13:12:24 +01:00
Robin Eklind
24f0d081ca
graph/encoding/dot: (un)quote attributes if needed during (un)marshal
2019-01-14 14:27:56 +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
70492dcef1
all: quieten vet for unkeyed composite literals in test code
2018-09-02 07:59:12 +09:30
J. Holmes
b2e9df857d
encoding/dot: fix ports on undirected graphs
2018-04-16 10:43:11 +09:30
kortschak
299547a6f4
Revert "graph: change Edge interface to include ID method"
...
This reverts commit 1a83fdba7a
.
Further design discussion leads to a better approach with an additional
edge-type interface.
2017-12-14 08:24:55 +10:30
kortschak
1a83fdba7a
graph: change Edge interface to include ID method
...
This is to allow future handling of multigraphs.
2017-12-11 08:06:56 +10:30
kortschak
805531d142
all: change capitalization of gonum in license header
2017-11-02 06:54:08 +10:30
kortschak
7ba61f0ead
graph/...: remove Weight method from Edge
2017-08-24 10:21:15 +09:30
kortschak
8e3d6da27f
graph/encoding: move basic encoding API into new encoding package
2017-08-03 18:57:33 +09:30
kortschak
7db7251618
graph/encoding/dot: reorganise files
2017-07-16 13:52:43 +09:30