9#ifndef IMPKERNEL_PYTHON_ONLY_H
10#define IMPKERNEL_PYTHON_ONLY_H
12#include <IMP/kernel_config.h>
14#include <boost/graph/adjacency_list.hpp>
16IMPKERNEL_BEGIN_NAMESPACE
34 class VertexDescriptor;
35 class VertexDescriptors;
37 Vertices get_vertices()
const;
38 VertexName get_vertex_name(VertexDescriptor v)
const;
39 VertexDescriptors get_in_neighbors(VertexDescriptor)
const;
40 VertexDescriptors get_out_neighbors(VertexDescriptor)
const;
41 void add_edge(VertexDescriptor, VertexDescriptor);
42 VertexDescriptor add_vertex(VertexName);
43 void remove_vertex(VertexDescriptor);
48 void show(std::ostream &out = std::cout)
const;
94IMPKERNEL_END_NAMESPACE
Storage of a model, its restraints, constraints and particles.
void show(std::ostream &out=std::cout) const
Show the graph in the graphviz format.
void show_altgraph(Graph g)
std::string show_graphviz(Graph g)
networkx::DiGraph get_networkx_graph(Graph g)