Degree ====== :cpp:include:`#include` .. cpp:namespace:: hysj::graphs In namespace :cpp:any:`graphs`: .. cpp:function:: auto degree(auto direction,const auto &graph,auto id) | The number of incident ids. *Shorthands* .. rest-script:: from hysj.graphs import * for d in DirectionTag.__members__.values(): print(f'.. cpp:var:: unspecified {d.name[0]}degree = bind(degree,{d.name.replace("_","")}_tag)') .. cpp:function:: auto is_skin(auto direction,const auto &graph,auto id) | A vertex is a skin-vertex in a given direction if it has no incident edges in that directino. | .. cpp:function:: auto skin(auto direction,const auto &graph) | Computes all the skin-vertices in the graph. |