mirror of
https://github.com/gonum/gonum.git
synced 2025-10-23 15:13:31 +08:00
graph/encoding/dot: add multigraph serialization and deserialization support
This commit is contained in:
@@ -12,6 +12,12 @@ type Builder interface {
|
||||
graph.Builder
|
||||
}
|
||||
|
||||
// MultiBuilder is a graph that can have user-defined nodes and edges added.
|
||||
type MultiBuilder interface {
|
||||
graph.Multigraph
|
||||
graph.MultigraphBuilder
|
||||
}
|
||||
|
||||
// AttributeSetter is implemented by types that can set an encoded graph
|
||||
// attribute.
|
||||
type AttributeSetter interface {
|
||||
|
Reference in New Issue
Block a user