package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 24, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cytoscape visualize resource graph
type Cytoscape struct {
}
Cytoscape visualization library
NewCytoscapa construct cytoscape
Display generate resource graph and return html page
type Edge struct {
Data EdgeData `json:"data"`
}
Edge hold edge information
type EdgeData struct {
Source string `json:"source"`
Target string `json:"target"`
}
EdgeData holds edge data
type Elements struct {
Nodes []Node `json:"nodes"`
Edges []Edge `json:"edges"`
}
Elements holds elements
type Node struct {
Data NodeData `json:"data"`
}
Node holds node
type NodeData struct {
ID string `json:"id"`
Label string `json:"label"`
}
NodeData holds node data
Source Files
¶
Click to show internal directories.
Click to hide internal directories.