Hasse Diagram

In order theory, a Hasse diagram (/ˈhæsə/; German: ) is a type of mathematical diagram used to represent a finite partially ordered set, in the form of a drawing of its transitive reduction.

Concretely, for a partially ordered set one represents each element of as a vertex in the plane and draws a line segment or curve that goes upward from one vertex to another vertex whenever covers (that is, whenever , and there is no distinct from and with ). These curves may cross each other but must not touch any vertices other than their endpoints. Such a diagram, with labeled vertices, uniquely determines its partial order.

Hasse Diagram
The power set of a 2-element set ordered by inclusion

Hasse diagrams are named after Helmut Hasse (1898–1979); according to Garrett Birkhoff, they are so called because of the effective use Hasse made of them. However, Hasse was not the first to use these diagrams. One example that predates Hasse can be found in Henri Gustave Vogt (1895). Although Hasse diagrams were originally devised as a technique for making drawings of partially ordered sets by hand, they have more recently been created automatically using graph drawing techniques.

The phrase "Hasse diagram" may also refer to the transitive reduction as an abstract directed acyclic graph, independently of any drawing of that graph, but this usage is eschewed here.

Diagram design

Although Hasse diagrams are simple, as well as intuitive, tools for dealing with finite posets, it turns out to be rather difficult to draw "good" diagrams. The reason is that, in general, there are many different possible ways to draw a Hasse diagram for a given poset. The simple technique of just starting with the minimal elements of an order and then drawing greater elements incrementally often produces quite poor results: symmetries and internal structure of the order are easily lost.

The following example demonstrates the issue. Consider the power set of a 4-element set ordered by inclusion Hasse Diagram . Below are four different Hasse diagrams for this partial order. Each subset has a node labelled with a binary encoding that shows whether a certain element is in the subset (1) or not (0):

Hasse Diagram      Hasse Diagram 
Hasse Diagram     
Hasse Diagram 

The first diagram makes clear that the power set is a graded poset. The second diagram has the same graded structure, but by making some edges longer than others, it emphasizes that the 4-dimensional cube is a combinatorial union of two 3-dimensional cubes, and that a tetrahedron (abstract 3-polytope) likewise merges two triangles (abstract 2-polytopes). The third diagram shows some of the internal symmetry of the structure. In the fourth diagram the vertices are arranged in a 4×4 grid.

Upward planarity

Hasse Diagram 
This Hasse diagram of the lattice of subgroups of the dihedral group Dih4 has no crossing edges.

If a partial order can be drawn as a Hasse diagram in which no two edges cross, its covering graph is said to be upward planar. A number of results on upward planarity and on crossing-free Hasse diagram construction are known:

  • If the partial order to be drawn is a lattice, then it can be drawn without crossings if and only if it has order dimension at most two. In this case, a non-crossing drawing may be found by deriving Cartesian coordinates for the elements from their positions in the two linear orders realizing the order dimension, and then rotating the drawing counterclockwise by a 45-degree angle.
  • If the partial order has at most one minimal element, or it has at most one maximal element, then it may be tested in linear time whether it has a non-crossing Hasse diagram.
  • It is NP-complete to determine whether a partial order with multiple sources and sinks can be drawn as a crossing-free Hasse diagram. However, finding a crossing-free Hasse diagram is fixed-parameter tractable when parametrized by the number of articulation points and triconnected components of the transitive reduction of the partial order.
  • If the y-coordinates of the elements of a partial order are specified, then a crossing-free Hasse diagram respecting those coordinate assignments can be found in linear time, if such a diagram exists. In particular, if the input poset is a graded poset, it is possible to determine in linear time whether there is a crossing-free Hasse diagram in which the height of each vertex is proportional to its rank.

Use in UML notation

Hasse Diagram 
A class diagram depicting multiple inheritance

In software engineering / Object-oriented design, the classes of a software system and the inheritance relation between these classes is often depicted using a class diagram, a form of Hasse diagram in which the edges connecting classes are drawn as solid line segments with an open triangle at the superclass end.

Notes

Tags:

Hasse Diagram Diagram designHasse Diagram Upward planarityHasse Diagram Use in UML notationHasse DiagramCovering relationGraph drawingHelp:IPA/EnglishHelp:IPA/Standard GermanLine segmentMathematical diagramOrder theoryPartially ordered setTransitive reductionVertex (graph theory)

🔥 Trending searches on Wiki English:

Rastafari2026 FIFA World Cup qualificationFord v FerrariStranger ThingsKyle RichardsAnthony KiedisStations of the CrossGeorge VXXX (2002 film)List of bridge failuresCapybaraFreddie BartholomewImmaculate (2024 film)Big3Skibidi ToiletGodzilla vs. KongRebekah NeumannSexCowboy CarterMarie CurieAlexandra GrantDakota JohnsonShroud of TurinVladimir PutinBlake LivelyBrandon LeeRamy YoussefEminemCosmo JarvisNapoleonSouth AfricaEdward VIIICatherine, Princess of WalesEgyptCamila CabelloFrank CaprioList of World Series championsKu Klux KlanNational September 11 Memorial & MuseumRobert Whittaker (fighter)List of United States cities by populationLewis HamiltonVietnam WarJess HongList of Hindi films of 2024Eid al-FitrDavid BowieRiyan ParagSeptember 11 attacksThe Masked Singer (American season 11)Ruby FrankeEarthClint EastwoodMichael KeatonKate WinsletFormula OneDune (franchise)Google TranslateJerry TrainorList of ethnic slursRoyal Challengers BangaloreMain PageSisqóBill ClintonList of countries by GDP (nominal) per capitaEmma StoneBianca CensoriTimothée ChalametBruce WillisThe SimpsonsFIFA World CupTaskmaster (TV series)2020 United States presidential electionOutlook.com🡆 More