Skip to content

Commit

Permalink
Undo changes to markdown document
Browse files Browse the repository at this point in the history
  • Loading branch information
Elssky committed Aug 27, 2024
1 parent d73a347 commit d385fd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/libraries/cpp/examples/bgl.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ std::vector<graphar::Property> property_vector = {cc};
auto group = graphar::CreatePropertyGroup(property_vector, graphar::FileType::PARQUET);

// construct the new vertex info
std::string vertex_type = "cc_result", vertex_prefix = "result/";
std::string vertex_label = "cc_result", vertex_prefix = "result/";
int chunk_size = 100;
auto new_info = graphar::CreateVertexInfo(vertex_type, chunk_size, {group}, vertex_prefix);
auto new_info = graphar::CreateVertexInfo(vertex_label, chunk_size, {group}, vertex_prefix);

// access the vertices via the index map and vertex iterator of BGL
typedef boost::property_map<Graph, boost::vertex_index_t>::type IndexMap;
Expand Down
4 changes: 2 additions & 2 deletions docs/libraries/cpp/examples/snap-to-graphar.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ storage of the vertex information file.
auto version = graphar::InfoVersion::Parse("gar/v1").value();

// meta info
std::string vertex_type = "node", vertex_prefix = "vertex/node/";
std::string vertex_label = "node", vertex_prefix = "vertex/node/";

// create vertex info
auto vertex_info = graphar::CreateVertexInfo(
vertex_type, VERTEX_CHUNK_SIZE, {}, vertex_prefix, version);
vertex_label, VERTEX_CHUNK_SIZE, {}, vertex_prefix, version);

// save & dump vertex info
ASSERT(!vertex_info->Dump().has_error());
Expand Down

0 comments on commit d385fd1

Please sign in to comment.