rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-view-lib/src/hypergraph.rs
Items
const NW const NH const COL_GAP const ROW_GAP const MARGIN const FOOTER_H const HYPERGRAPH_MAX_VERTICES const HYPERGRAPH_MAX_EDGES const MAX_EDGE_MEMBERS const RING_VIEW const RING_CENTER const RING_RADIUS const PART_PULL const CONTROL_PULL const ADVISORY_DASH const ADVISORY_OPACITY const EDGE_OPACITY const GROUP_PAD enum HypergraphLayout struct HyperVertexData impl HyperVertexData struct EdgeChip impl EdgeChip struct HyperEdgeData impl HyperEdgeData struct HyperGroupData impl HyperGroupData struct HypergraphSpec impl HypergraphSpec const FIXED struct Placed impl Placed struct DrawnEdge impl DrawnEdge struct Layout impl Layout struct EdgeGeom impl EdgeGeom const OUTSIDE struct LegendItem const LEGEND_ROW_H const LEGEND_PAD const LEGEND_MAX_ITEMS const LEGEND_CHAR_W const MEMBERSHIP_KEYS const HYPERGRAPH_CSS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 149 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| hypergraph_svgsrc/hypergraph.rs:851 | fn | 80 | 14 | 37 | 21 | 6.5 | |
| kind_colorsrc/hypergraph.rs:504 | fn | 49 | 3 | 11 | 0 | 5.3 | |
| HyperVertexData::newsrc/hypergraph.rs:125 | method | 3 | 1 | 28 | 0 | 3.6 | |
| HyperEdgeData::strokesrc/hypergraph.rs:303 | method | 3 | 1 | 16 | 1 | 3.3 | |
| HyperEdgeData::newsrc/hypergraph.rs:229 | method | 3 | 1 | 35 | 0 | 3.3 | |
| HypergraphSpec::newsrc/hypergraph.rs:387 | method | 3 | 1 | 28 | 0 | 2.9 | |
| HypergraphSpec::edgessrc/hypergraph.rs:396 | method | 4 | 1 | 31 | 0 | 2.8 | |
| truncate_labelsrc/hypergraph.rs:1576 | fn | 5 | 2 | 7 | 0 | 2.7 | |
| HypergraphSpec::verticessrc/hypergraph.rs:391 | method | 4 | 1 | 27 | 0 | 2.7 | |
| dedup_stringssrc/hypergraph.rs:1782 | fn | 9 | 3 | 4 | 0 | 2.3 | |
| hyperedge_from_jsonsrc/hypergraph.rs:1721 | fn | 22 | 2 | 2 | 7 | 2.1 | |
| Layout::pullsrc/hypergraph.rs:624 | method | 8 | 2 | 4 | 0 | 1.8 | |
| json_strsrc/hypergraph.rs:1792 | fn | 3 | 1 | 4 | 0 | 1.6 | |
| HyperGroupData::newsrc/hypergraph.rs:332 | method | 3 | 1 | 7 | 0 | 1.5 | |
| EdgeChip::newsrc/hypergraph.rs:176 | method | 3 | 1 | 7 | 0 | 1.5 | |
| centroidsrc/hypergraph.rs:647 | fn | 8 | 2 | 2 | 0 | 1.4 | |
| Layout::part_centroidsrc/hypergraph.rs:633 | method | 3 | 1 | 2 | 2 | 1.4 | |
| triangle_specsrc/hypergraph.rs:1865 | fn | 9 | 1 | 5 | 5 | 1.4 | |
| ring_pointsrc/hypergraph.rs:641 | fn | 5 | 1 | 2 | 0 | 1.3 | |
| HypergraphSpec::totalssrc/hypergraph.rs:402 | method | 5 | 1 | 12 | 0 | 1.3 | |
| HypergraphSpec::filter_layerssrc/hypergraph.rs:451 | method | 21 | 3 | 2 | 0 | 1.3 | |
| ring_specsrc/hypergraph.rs:2232 | fn | 8 | 1 | 8 | 3 | 1.2 | |
| Placed::centersrc/hypergraph.rs:589 | method | 3 | 1 | 3 | 0 | 1.1 | |
| json_f64src/hypergraph.rs:1796 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| edge_pathsrc/hypergraph.rs:560 | fn | 8 | 2 | 3 | 0 | 1.1 | |
| hyper_edges_from_jsonsrc/hypergraph.rs:1631 | fn | 3 | 1 | 4 | 1 | 1.1 | |
| convex_hullsrc/hypergraph.rs:1327 | fn | 23 | 6 | 2 | 1 | 1.1 | |
| HyperEdgeData::dash_patternsrc/hypergraph.rs:309 | method | 7 | 3 | 1 | 0 | 1.1 | |
| HypergraphSpec::legendsrc/hypergraph.rs:435 | method | 4 | 1 | 9 | 0 | 1 | |
| tallysrc/hypergraph.rs:1475 | nested fn | 9 | 2 | 3 | 0 | 1 | |
| vertex_box_heightsrc/hypergraph.rs:805 | fn | 3 | 1 | 2 | 0 | 1 | |
| json_str_arraysrc/hypergraph.rs:1808 | fn | 4 | 1 | 2 | 0 | 0.9 | |
| HypergraphSpec::capssrc/hypergraph.rs:408 | method | 5 | 1 | 5 | 0 | 0.9 | |
| compute_layoutsrc/hypergraph.rs:679 | fn | 25 | 3 | 4 | 3 | 0.9 | |
| build_adjacencysrc/hypergraph.rs:778 | fn | 11 | 3 | 4 | 0 | 0.9 | |
| hub_positionsrc/hypergraph.rs:819 | fn | 19 | 4 | 2 | 1 | 0.9 | |
| hyper_vertices_from_jsonsrc/hypergraph.rs:1595 | fn | 32 | 3 | 3 | 2 | 0.9 | |
| hyper_relations_from_jsonsrc/hypergraph.rs:1639 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| layout_pairssrc/hypergraph.rs:711 | fn | 11 | 4 | 3 | 0 | 0.9 | |
| resolve_edgessrc/hypergraph.rs:726 | fn | 48 | 14 | 3 | 0 | 0.9 | |
| compute_ring_layoutsrc/hypergraph.rs:658 | fn | 5 | 1 | 2 | 1 | 0.8 | |
| containment_outlinesrc/hypergraph.rs:1302 | fn | 22 | 4 | 2 | 2 | 0.8 | |
| HyperEdgeData::advisorysrc/hypergraph.rs:248 | method | 4 | 1 | 5 | 0 | 0.8 | |
| json_relation_alias_memberssrc/hypergraph.rs:1762 | fn | 15 | 5 | 1 | 3 | 0.8 | |
| json_part_memberssrc/hypergraph.rs:1778 | fn | 3 | 1 | 1 | 1 | 0.8 | |
| hub_radiussrc/hypergraph.rs:810 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| HypergraphSpec::hub_labelssrc/hypergraph.rs:430 | method | 4 | 1 | 2 | 0 | 0.8 | |
| HyperEdgeData::dashsrc/hypergraph.rs:253 | method | 4 | 1 | 5 | 0 | 0.8 | |
| HypergraphSpec::hub_labels_enabledsrc/hypergraph.rs:478 | method | 3 | 1 | 1 | 0 | 0.8 | |
| HypergraphSpec::vertex_capsrc/hypergraph.rs:482 | method | 3 | 2 | 1 | 0 | 0.8 | |
| HypergraphSpec::edge_capsrc/hypergraph.rs:486 | method | 3 | 2 | 1 | 0 | 0.8 | |
| degreessrc/hypergraph.rs:793 | fn | 9 | 3 | 1 | 0 | 0.8 | |
| describesrc/hypergraph.rs:932 | fn | 4 | 1 | 1 | 0 | 0.8 | |
| edge_geometrysrc/hypergraph.rs:959 | fn | 14 | 3 | 1 | 4 | 0.8 | |
| push_edgessrc/hypergraph.rs:983 | fn | 56 | 10 | 1 | 8 | 0.8 | |
| push_groupssrc/hypergraph.rs:1237 | fn | 61 | 15 | 1 | 5 | 0.8 | |
| push_verticessrc/hypergraph.rs:1351 | fn | 30 | 6 | 1 | 6 | 0.8 | |
| legend_rowssrc/hypergraph.rs:1474 | fn | 40 | 8 | 1 | 3 | 0.8 | |
| legend_block_heightsrc/hypergraph.rs:1515 | fn | 3 | 2 | 1 | 0 | 0.8 | |
| push_legendsrc/hypergraph.rs:1521 | fn | 33 | 5 | 1 | 1 | 0.8 | |
| push_truncation_notesrc/hypergraph.rs:1557 | fn | 18 | 1 | 1 | 0 | 0.8 | |
| empty_hypergraph_placeholdersrc/hypergraph.rs:1584 | fn | 4 | 2 | 1 | 0 | 0.8 | |
| json_edge_memberssrc/hypergraph.rs:1744 | fn | 13 | 4 | 1 | 3 | 0.8 | |
| json_relation_memberssrc/hypergraph.rs:1758 | fn | 3 | 1 | 1 | 2 | 0.8 | |
| json_i64src/hypergraph.rs:1800 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| json_boolsrc/hypergraph.rs:1804 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| json_str_matrixsrc/hypergraph.rs:1813 | fn | 19 | 1 | 1 | 1 | 0.8 | |
| ring_vertex_radiussrc/hypergraph.rs:1426 | fn | 6 | 2 | 1 | 0 | 0.8 | |
| HyperEdgeData::partssrc/hypergraph.rs:238 | method | 4 | 1 | 4 | 0 | 0.7 | |
| DrawnEdge::is_chainedsrc/hypergraph.rs:604 | method | 3 | 1 | 2 | 0 | 0.7 | |
| HypergraphSpec::groupssrc/hypergraph.rs:414 | method | 4 | 1 | 6 | 0 | 0.7 | |
| legend_itemsrc/hypergraph.rs:1465 | fn | 5 | 2 | 1 | 1 | 0.7 | |
| hypergraph_spec_from_atlas_jsonsrc/hypergraph.rs:1647 | fn | 73 | 10 | 1 | 8 | 0.7 | |
| kind_attrsrc/hypergraph.rs:1054 | fn | 3 | 2 | 2 | 0 | 0.7 | |
| data_attrssrc/hypergraph.rs:1058 | fn | 5 | 1 | 2 | 0 | 0.7 | |
| Placed::leftsrc/hypergraph.rs:580 | method | 3 | 1 | 2 | 0 | 0.7 | |
| Placed::rightsrc/hypergraph.rs:585 | method | 3 | 1 | 2 | 0 | 0.7 | |
| edge_widthsrc/hypergraph.rs:1040 | fn | 6 | 2 | 2 | 0 | 0.7 | |
| dash_attrsrc/hypergraph.rs:1047 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| HyperEdgeData::cyclicsrc/hypergraph.rs:243 | method | 4 | 1 | 2 | 0 | 0.7 | |
| chain_anchorsrc/hypergraph.rs:976 | fn | 6 | 1 | 1 | 1 | 0.7 | |
| EdgeGeom::inksrc/hypergraph.rs:951 | method | 6 | 1 | 1 | 0 | 0.6 | |
| push_column_vertexsrc/hypergraph.rs:1382 | fn | 24 | 2 | 1 | 2 | 0.6 | |
| push_ring_vertexsrc/hypergraph.rs:1411 | fn | 14 | 2 | 1 | 2 | 0.6 | |
| vertex_tooltipsrc/hypergraph.rs:1433 | fn | 11 | 3 | 1 | 0 | 0.6 | |
| chain_arrowheadsrc/hypergraph.rs:1146 | fn | 13 | 3 | 1 | 0 | 0.6 | |
| push_binary_edgesrc/hypergraph.rs:1067 | fn | 25 | 3 | 1 | 7 | 0.6 | |
| push_chain_edgesrc/hypergraph.rs:1097 | fn | 48 | 11 | 1 | 5 | 0.6 | |
| push_hub_edgesrc/hypergraph.rs:1163 | fn | 46 | 5 | 1 | 5 | 0.6 | |
| push_chipsrc/hypergraph.rs:1212 | fn | 18 | 4 | 1 | 2 | 0.6 | |
| HypergraphSpec::layer_groupssrc/hypergraph.rs:420 | method | 4 | 1 | 1 | 0 | 0.6 | |
| HypergraphSpec::with_filtered_layerssrc/hypergraph.rs:473 | method | 4 | 1 | 1 | 1 | 0.6 | |
| view_boxsrc/hypergraph.rs:1914 | nested fn | 6 | 1 | 1 | 0 | 0.6 | |
| HyperVertexData::labelsrc/hypergraph.rs:129 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperVertexData::detailsrc/hypergraph.rs:134 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperVertexData::weightsrc/hypergraph.rs:139 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperVertexData::classsrc/hypergraph.rs:144 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperVertexData::layersrc/hypergraph.rs:149 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperVertexData::attrsrc/hypergraph.rs:155 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperVertexData::display_labelsrc/hypergraph.rs:160 | method | 3 | 2 | 0 | 0 | 0.5 | |
| EdgeChip::titlesrc/hypergraph.rs:180 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::labelsrc/hypergraph.rs:233 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::colorsrc/hypergraph.rs:258 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::weightsrc/hypergraph.rs:263 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::chipsrc/hypergraph.rs:268 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::classsrc/hypergraph.rs:273 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::layersrc/hypergraph.rs:278 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::t_mssrc/hypergraph.rs:283 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::attrsrc/hypergraph.rs:288 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperEdgeData::display_labelsrc/hypergraph.rs:293 | method | 9 | 3 | 0 | 0 | 0.5 | |
| HyperGroupData::labelsrc/hypergraph.rs:336 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HyperGroupData::display_labelsrc/hypergraph.rs:341 | method | 3 | 2 | 0 | 0 | 0.5 | |
| HypergraphSpec::layoutsrc/hypergraph.rs:425 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HypergraphSpec::t_mssrc/hypergraph.rs:440 | method | 4 | 1 | 0 | 0 | 0.5 | |
| HypergraphSpec::is_emptysrc/hypergraph.rs:490 | method | 3 | 2 | 0 | 0 | 0.5 | |
| edges_carry_their_members_for_the_shared_hover_focussrc/hypergraph.rs:1876 | fn | 16 | 1 | 0 | 6 | 0.5 | |
| legend_is_opt_in_counts_kinds_and_grows_the_viewboxsrc/hypergraph.rs:1894 | fn | 31 | 2 | 0 | 7 | 0.5 | |
| three_vertex_edge_draws_a_hub_with_one_spoke_per_membersrc/hypergraph.rs:1927 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| two_vertex_edge_draws_a_direct_path_and_no_hubsrc/hypergraph.rs:1940 | fn | 9 | 1 | 0 | 6 | 0.5 | |
| output_is_byte_identical_across_renderssrc/hypergraph.rs:1951 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| bfs_ranks_place_reachable_vertices_in_later_columnssrc/hypergraph.rs:1959 | fn | 21 | 1 | 0 | 9 | 0.5 | |
| disconnected_components_each_seed_their_own_rank_zerosrc/hypergraph.rs:1982 | fn | 11 | 1 | 0 | 6 | 0.5 | |
| column_rows_are_ordered_to_uncross_edges_and_short_columns_sit_centredsrc/hypergraph.rs:1995 | fn | 25 | 1 | 0 | 9 | 0.5 | |
| edge_path_forward_and_back_match_the_frozen_geometrysrc/hypergraph.rs:2022 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| kind_color_is_fixed_for_domain_kinds_and_stable_for_unknownssrc/hypergraph.rs:2029 | fn | 14 | 1 | 0 | 1 | 0.5 | |
| degree_drives_box_height_and_stays_inside_the_row_slotsrc/hypergraph.rs:2045 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| truncation_is_stated_inside_the_svgsrc/hypergraph.rs:2053 | fn | 12 | 1 | 0 | 7 | 0.5 | |
| caller_supplied_totals_report_the_pre_window_graphsrc/hypergraph.rs:2067 | fn | 9 | 1 | 0 | 5 | 0.5 | |
| untruncated_graphs_carry_no_notesrc/hypergraph.rs:2078 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| empty_spec_renders_the_shared_placeholdersrc/hypergraph.rs:2085 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| edges_naming_missing_vertices_are_dropped_not_drawn_halfsrc/hypergraph.rs:2093 | fn | 11 | 1 | 0 | 6 | 0.5 | |
| labels_and_kinds_are_html_escapedsrc/hypergraph.rs:2106 | fn | 9 | 1 | 0 | 6 | 0.5 | |
| json_adapters_read_hyperdb_and_legacy_shapessrc/hypergraph.rs:2117 | fn | 38 | 1 | 0 | 2 | 0.5 | |
| json_relation_membership_preserves_alias_order_and_explicit_empty_authoritysrc/hypergraph.rs:2157 | fn | 68 | 1 | 0 | 2 | 0.5 | |
| ring_layout_places_vertices_in_input_order_starting_at_twelve_oclocksrc/hypergraph.rs:2242 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| a_two_part_edge_chains_offer_to_want_and_gathers_only_multi_member_legssrc/hypergraph.rs:2259 | fn | 18 | 1 | 0 | 4 | 0.5 | |
| a_cyclic_edge_closes_its_chain_and_an_open_one_does_notsrc/hypergraph.rs:2279 | fn | 14 | 1 | 0 | 5 | 0.5 | |
| advisory_edges_ghost_and_settleable_ones_do_notsrc/hypergraph.rs:2295 | fn | 12 | 1 | 0 | 5 | 0.5 | |
| an_explicit_dash_carries_its_own_dimension_over_the_advisory_defaultsrc/hypergraph.rs:2309 | fn | 8 | 1 | 0 | 6 | 0.5 | |
| a_chip_draws_only_where_one_is_attachedsrc/hypergraph.rs:2319 | fn | 16 | 1 | 0 | 5 | 0.5 | |
| caller_classes_and_data_attributes_survive_to_the_svgsrc/hypergraph.rs:2337 | fn | 20 | 1 | 0 | 6 | 0.5 | |
| hub_labels_can_stand_down_for_dense_drawingssrc/hypergraph.rs:2359 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| a_settlement_group_draws_containment_around_its_memberssrc/hypergraph.rs:2368 | fn | 30 | 1 | 0 | 5 | 0.5 | |
| a_group_naming_edges_outside_the_window_does_not_drawsrc/hypergraph.rs:2400 | fn | 6 | 1 | 0 | 5 | 0.5 | |
| convex_hull_wraps_its_points_and_ignores_the_interiorsrc/hypergraph.rs:2408 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| ring_drawings_still_state_their_truncationsrc/hypergraph.rs:2422 | fn | 16 | 1 | 0 | 7 | 0.5 | |
| hub_positions_never_collide_for_identical_member_setssrc/hypergraph.rs:2440 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| hyperframe_v1_atlas_adapter_two_layers_roundtripsrc/hypergraph.rs:2459 | fn | 90 | 1 | 0 | 2 | 0.5 | |
| test_hypergraph_spec_filter_layerssrc/hypergraph.rs:2551 | fn | 30 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.