20,775 research outputs found

    A Coloring Algorithm for Disambiguating Graph and Map Drawings

    Full text link
    Drawings of non-planar graphs always result in edge crossings. When there are many edges crossing at small angles, it is often difficult to follow these edges, because of the multiple visual paths resulted from the crossings that slow down eye movements. In this paper we propose an algorithm that disambiguates the edges with automatic selection of distinctive colors. Our proposed algorithm computes a near optimal color assignment of a dual collision graph, using a novel branch-and-bound procedure applied to a space decomposition of the color gamut. We give examples demonstrating the effectiveness of this approach in clarifying drawings of real world graphs and maps

    L-Drawings of Directed Graphs

    Full text link
    We introduce L-drawings, a novel paradigm for representing directed graphs aiming at combining the readability features of orthogonal drawings with the expressive power of matrix representations. In an L-drawing, vertices have exclusive xx- and yy-coordinates and edges consist of two segments, one exiting the source vertically and one entering the destination horizontally. We study the problem of computing L-drawings using minimum ink. We prove its NP-completeness and provide a heuristics based on a polynomial-time algorithm that adds a vertex to a drawing using the minimum additional ink. We performed an experimental analysis of the heuristics which confirms its effectiveness.Comment: 11 pages, 7 figure

    Maximizing the Total Resolution of Graphs

    Full text link
    A major factor affecting the readability of a graph drawing is its resolution. In the graph drawing literature, the resolution of a drawing is either measured based on the angles formed by consecutive edges incident to a common node (angular resolution) or by the angles formed at edge crossings (crossing resolution). In this paper, we evaluate both by introducing the notion of "total resolution", that is, the minimum of the angular and crossing resolution. To the best of our knowledge, this is the first time where the problem of maximizing the total resolution of a drawing is studied. The main contribution of the paper consists of drawings of asymptotically optimal total resolution for complete graphs (circular drawings) and for complete bipartite graphs (2-layered drawings). In addition, we present and experimentally evaluate a force-directed based algorithm that constructs drawings of large total resolution

    The Complexity of Drawing Graphs on Few Lines and Few Planes

    Full text link
    It is well known that any graph admits a crossing-free straight-line drawing in R3\mathbb{R}^3 and that any planar graph admits the same even in R2\mathbb{R}^2. For a graph GG and d∈{2,3}d \in \{2,3\}, let ρd1(G)\rho^1_d(G) denote the minimum number of lines in Rd\mathbb{R}^d that together can cover all edges of a drawing of GG. For d=2d=2, GG must be planar. We investigate the complexity of computing these parameters and obtain the following hardness and algorithmic results. - For d∈{2,3}d\in\{2,3\}, we prove that deciding whether ρd1(G)≀k\rho^1_d(G)\le k for a given graph GG and integer kk is ∃R{\exists\mathbb{R}}-complete. - Since NP⊆∃R\mathrm{NP}\subseteq{\exists\mathbb{R}}, deciding ρd1(G)≀k\rho^1_d(G)\le k is NP-hard for d∈{2,3}d\in\{2,3\}. On the positive side, we show that the problem is fixed-parameter tractable with respect to kk. - Since ∃R⊆PSPACE{\exists\mathbb{R}}\subseteq\mathrm{PSPACE}, both ρ21(G)\rho^1_2(G) and ρ31(G)\rho^1_3(G) are computable in polynomial space. On the negative side, we show that drawings that are optimal with respect to ρ21\rho^1_2 or ρ31\rho^1_3 sometimes require irrational coordinates. - Let ρ32(G)\rho^2_3(G) be the minimum number of planes in R3\mathbb{R}^3 needed to cover a straight-line drawing of a graph GG. We prove that deciding whether ρ32(G)≀k\rho^2_3(G)\le k is NP-hard for any fixed k≄2k \ge 2. Hence, the problem is not fixed-parameter tractable with respect to kk unless P=NP\mathrm{P}=\mathrm{NP}
    • 

    corecore