pub struct GraphView {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
}Expand description
The concept graph, ready for the embedded cytoscape build.
Only edges within the bundle are emitted. A link naming a concept the bundle does not contain has no node to attach to, and inventing a placeholder would draw a graph the bundle does not describe.
Fields§
§nodes: Vec<GraphNode>Every concept.
edges: Vec<GraphEdge>Every resolved link between two of them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphView
impl RefUnwindSafe for GraphView
impl Send for GraphView
impl Sync for GraphView
impl Unpin for GraphView
impl UnsafeUnpin for GraphView
impl UnwindSafe for GraphView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more