Inkscape
Vector Graphics Editor
|
simple test of clustered graph layout More...
Go to the source code of this file.
Functions | |
int | main () |
Variables | |
vector< vpsc::Rectangle * > | rs |
vector< Edge > | es |
RectangularCluster | rc |
RectangularCluster | rd |
RootCluster | root |
unsigned | iteration =0 |
simple test of clustered graph layout
Authors: Tim Dwyer tgdwy.nosp@m.er@g.nosp@m.mail..nosp@m.com
Definition in file containment.cpp.
int main | ( | void | ) |
Definition at line 53 of file containment.cpp.
References c, cola::Cluster::clusters, es, OutputFile::generate(), getRand(), height, cola::Cluster::nodes, rc, rd, root, rs, cola::ConstrainedMajorizationLayout::run(), cola::ConstrainedMajorizationLayout::setAvoidOverlaps(), cola::ConstrainedMajorizationLayout::setScaling(), test(), and width.
vector<Edge> es |
Definition at line 48 of file containment.cpp.
Referenced by cells(), clusterBoundary(), cola::ConstrainedFDLayout::computeNeighbours(), cola::ConstrainedFDLayout::computePathLengths(), cola::connectedComponents(), cola::ConstrainedFDLayout::ConstrainedFDLayout(), cola::ConstrainedMajorizationLayout::ConstrainedMajorizationLayout(), countCrossings(), cola::dijkstra(), shortest_paths::dijkstra(), shortest_paths::dijkstra_init(), draw_cell(), edges_to_paths(), shortest_paths::floyd_warshall(), graphlayout(), shortest_paths::johnsons(), main(), main(), cola::ConstrainedFDLayout::makeFeasible(), shortest_paths::neighbours(), randomMove(), resize(), run_test(), scale_free(), cola::simpleCMLFactory(), TEST(), TEST(), TEST(), writeDunnartFile(), writeFile(), and writeFile().
unsigned iteration =0 |
Definition at line 51 of file containment.cpp.
Referenced by cola::ConstrainedFDLayout::makeFeasible().
Definition at line 49 of file containment.cpp.
Referenced by Inkscape::DrawingGroup::_clipItem(), Inkscape::UI::ControlPointSelection::_keyboardRotate(), Inkscape::DrawingShape::_renderFill(), Inkscape::DrawingGroup::_renderItem(), Inkscape::DrawingShape::_renderItem(), Inkscape::DrawingText::_renderItem(), Inkscape::DrawingShape::_renderMarkers(), Inkscape::DrawingItem::_renderOutline(), Inkscape::DrawingShape::_renderStroke(), Inkscape::UI::ControlPointSelection::_rotationRadius(), Inkscape::DrawingItem::clip(), Inkscape::UI::Tools::compare_pixels(), Slider::draw(), Toggle::draw(), cola::RectangularCluster::generateFixedRectangleConstraints(), main(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyle::prepareFill(), Inkscape::NRStyle::preparePaint(), Inkscape::NRStyle::prepareStroke(), Inkscape::NRStyle::prepareTextDecorationFill(), Inkscape::NRStyle::prepareTextDecorationStroke(), cola::ConstrainedFDLayout::recGenerateClusterVariablesAndConstraints(), Inkscape::DrawingItem::render(), Inkscape::Drawing::render(), Inkscape::DrawingItem::render(), Inkscape::Filters::Filter::render(), and Inkscape::DrawingPattern::renderPattern().
Definition at line 49 of file containment.cpp.
Referenced by Inkscape::UI::Tools::compare_pixels(), cola::ConstrainedFDLayout::computeForces(), main(), Geom::SL::Polynomial< CoeffT >::normalize(), Inkscape::UI::Dialog::show_about(), and TEST_F().
RootCluster root |
Definition at line 50 of file containment.cpp.
Referenced by SPFlowtext::_buildLayoutInput(), Inkscape::UI::Widget::CanvasGrid::_createGuide(), Inkscape::UI::Dialog::LayerPropertiesDialog::_doCreate(), Inkscape::UI::Widget::LayerSelector::_layerModified(), Inkscape::Extension::Internal::TemplatePresetFile::_load_data(), Inkscape::LayerManager::_rebuild(), SPObject::_requireSVGVersion(), Inkscape::UI::Dialog::LayerPropertiesDialog::_setup_layers_controls(), Inkscape::FontLister::add_document_fonts_at_top(), Inkscape::UI::Dialog::add_effects(), SPLPEItem::applyToClipPathOrMask(), Geom::bezier_line_intersections(), Inkscape::BooleanBuilder::BooleanBuilder(), Inkscape::SubItem::build_flatten(), Inkscape::SubItem::build_mosaic(), build_string_from_root(), Inkscape::UI::Widget::XmlTreeView::build_tree(), Inkscape::CanvasItemDrawing::CanvasItemDrawing(), Inkscape::ObjectSet::chameleonFill(), Geom::Line::clip(), Inkscape::LivePathEffect::LPECloneOriginal::cloneAttributes(), Inkscape::UI::Dialog::DocumentResources::collect_statistics(), Inkscape::UI::Dialog::collect_statistics(), Inkscape::UI::Dialog::collect_styles(), compose(), Inkscape::UI::contains_focus(), Inkscape::BooleanBuilder::contains_image(), ContextMenu::ContextMenu(), Inkscape::UI::Dialog::CPHistoryXML::CPHistoryXML(), Inkscape::create_layer(), SPGuide::createSPGuide(), Inkscape::Extension::ExecutionEnv::createWorkingDialog(), PairingHeap< T, TCompare >::decreaseKey(), Inkscape::UI::Widget::InkSpinButton::defocus(), delete_line_break(), PairingHeap< T, TCompare >::deleteMin(), Inkscape::UI::Dialog::PreviewDrawing::destruct(), Inkscape::UI::dialog_show_modal_and_selfdestruct(), Inkscape::LivePathEffect::LPERuler::doEffect_pwd2(), Inkscape::LivePathEffect::LPEMeasureSegments::doOnApply(), Inkscape::draw_handles_preview(), Inkscape::extract_pathvectors_recursive(), Geom::Path::extrema(), Inkscape::Extension::Internal::Filter::filters_load_file(), find_clone_to_group(), find_last_string_child_not_equal_to(), Inkscape::UI::Dialog::find_layer(), PairingHeap< T, TCompare >::findMin(), fit_canvas_to_drawing(), Inkscape::UI::Dialog::get_document_scale_helper(), Inkscape::UI::Dialog::get_first_style_text_node(), Inkscape::UI::Tools::get_paths(), Inkscape::LivePathEffect::LPEBool::get_union(), SPConnEndPair::getAttachedItems(), SPItem::getClipPathVector(), Inkscape::UI::Dialog::SpellCheck::getText(), hide_lock_unhide_all(), hide_lock_unlock_all(), i2anc_affine(), PairingHeap< T, TCompare >::insert(), SPLPEItem::isOnClipboard(), itemtree_map(), Inkscape::last_elder_layer(), Inkscape::Extension::Internal::latex_render_document_text_to_file(), layer_delete(), Inkscape::LayerManager::layerForObject(), legacy_transform_backward(), legacy_transform_forward(), list_text_items_recursive(), Inkscape::load_svg_cursor(), main(), Avoid::VertInf::makeTreeRootPointer(), Inkscape::Colors::Space::OkLch::max_chroma(), PairingHeap< T, TCompare >::merge(), SPGuide::moveto(), new_filter_blend_gaussian_blur(), next_item(), next_item_from_list(), Inkscape::next_layer(), Inkscape::UI::Widget::RegisteredScalarUnit::on_value_changed(), PairingHeap< T, TCompare >::operator=(), Inkscape::Colors::paint_to_xml(), Inkscape::Extension::Internal::pdf_render_document_to_file(), Inkscape::previous_layer(), process_all(), Inkscape::Extension::Internal::ps_print_document_to_file(), Inkscape::UI::Dialog::DocumentResources::refresh_page(), SPClipPath::removeTransformsRecursively(), SPItem::removeTransformsRecursively(), SPGroup::removeTransformsRecursively(), SPPath::removeTransformsRecursively(), Inkscape::Extension::Internal::CairoRenderer::renderPage(), Geom::Line::roots(), Inkscape::Extension::Internal::PdfOutput::save(), Inkscape::UI::Dialog::LivePathEffectEditor::selection_info(), SPGuide::set(), Inkscape::UI::Dialog::set_document_scale_helper(), Inkscape::LayerManager::setCurrentLayer(), Inkscape::UI::Tools::MeasureTool::setGuide(), LivePathEffectObject::setOnClipboard(), Avoid::VertInf::setSPTFRoot(), Inkscape::BooleanBuilder::shape_commit(), SPClipPath::show(), SPMask::show(), SPPattern::show(), show_output(), Geom::solve_reals(), sp_file_convert_dpi(), sp_file_save_template(), Inkscape::UI::Tools::sp_flood_do_flood_fill(), sp_import_document(), sp_item_group_ungroup(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_item_invoke_render(), Inkscape::Extension::Internal::sp_item_invoke_render(), sp_pattern_get_gap(), sp_pattern_set_gap(), sp_repr_do_read(), sp_repr_document_new(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_root_render(), Inkscape::Extension::Internal::sp_root_render(), sp_select_same_fill_stroke_style(), sp_selection_item_next(), sp_selection_item_prev(), sp_te_get_ustring_multiline(), sp_transientize(), Inkscape::Extension::Internal::SvgBuilder::SvgBuilder(), Inkscape::Extension::Internal::TemplatePresetFile::TemplatePresetFile(), TEST(), TEST(), TEST(), TEST(), Inkscape::UI::Dialog::SpellCheck::textIsValid(), tidy_xml_tree_recursively(), Inkscape::FontLister::update_font_list(), Inkscape::UI::Dialog::DocumentProperties::update_viewbox(), Inkscape::UI::Dialog::DocumentProperties::update_widgets(), and Inkscape::SelectionDescriber::updateMessage().
vector<vpsc::Rectangle*> rs |
Definition at line 47 of file containment.cpp.
Referenced by cola::Cluster::area(), Geom::bounds(), Geom::bounds(), cola::bounds(), clusterBoundary(), cola::RootCluster::computeBoundary(), cola::RectangularCluster::computeBoundary(), cola::ConvexCluster::computeBoundary(), cola::Cluster::computeBoundingRect(), cola::RectangularCluster::computeBoundingRect(), cola::connectedComponents(), cola::ConstrainedFDLayout::ConstrainedFDLayout(), cola::ConstrainedMajorizationLayout::ConstrainedMajorizationLayout(), countCrossings(), cola::Cluster::createVars(), Geom::curve_mono_splits(), cola::FixedRelativeConstraint::FixedRelativeConstraint(), straightener::generateClusterBoundaries(), generateRandomRects(), generateRects(), cola::OrthogonalEdgeConstraint::generateTopologyConstraints(), vpsc::generateXConstraints(), vpsc::generateYConstraints(), graphlayout(), Inkscape::Extension::Internal::PrintEmf::image(), Inkscape::Extension::Internal::PrintWmf::image(), Inkscape::Extension::Print::image(), ink_pixbuf_create_from_cairo_surface(), Inkscape::UI::PathManipulator::insertNodeAtExtremum(), main(), main(), makeFeasible(), vpsc::noRectangleOverlaps(), SPImage::print(), printRects(), cola::projectOntoCCs(), randomMove(), cola::removeClusterOverlap(), cola::removeClusterOverlapFast(), removeoverlap(), vpsc::removeoverlaps(), vpsc::removeoverlaps(), removeoverlaps(), resize(), run_test(), cola::simpleCMLFactory(), cola::solve(), straightener::Straightener::Straightener(), Geom::sweep_bounds(), test(), writeDunnartFile(), writeFile(), and writeFile().