Visualizando todo grafo com anzograph
This commit is contained in:
@@ -20,7 +20,7 @@ type Node struct {
|
||||
type Edge struct {
|
||||
Source uint32 `json:"source"`
|
||||
Target uint32 `json:"target"`
|
||||
Predicate string `json:"predicate"`
|
||||
PredicateID uint32 `json:"predicate_id"`
|
||||
}
|
||||
|
||||
type GraphMeta struct {
|
||||
@@ -29,6 +29,7 @@ type GraphMeta struct {
|
||||
SparqlEndpoint string `json:"sparql_endpoint"`
|
||||
IncludeBNodes bool `json:"include_bnodes"`
|
||||
GraphQueryID string `json:"graph_query_id"`
|
||||
Predicates []string `json:"predicates,omitempty"` // index = predicate_id
|
||||
NodeLimit int `json:"node_limit"`
|
||||
EdgeLimit int `json:"edge_limit"`
|
||||
Nodes int `json:"nodes"`
|
||||
|
||||
Reference in New Issue
Block a user