Generating Euler diagrams - PowerPoint PPT Presentation

1 / 48
About This Presentation
Title:

Generating Euler diagrams

Description:

Every graph which is not a tree has at least two trees which are spanning trees. diagram ... spanning. 3. There are three contours: graph, tree and other, ... – PowerPoint PPT presentation

Number of Views:119
Avg rating:3.0/5.0
Slides: 49
Provided by: jeanf8
Category:

less

Transcript and Presenter's Notes

Title: Generating Euler diagrams


1
Generating Euler diagrams
Jean Flower and John Howse University of
Brighton, UK j.a.flower_at_brighton.ac.uk john.howse
_at_brighton.ac.uk Visual Modelling
Group www.it.brighton.ac.uk/research/vmg
2
Background constraint diagrams
diagram
3
Constraint diagrams
abstract diagram
concrete diagram
There are three contours graph, tree and
other, and four zones one outside all contours,
one just in graph, one in graph and tree and one
in all three contours, and one existential
spider...
4
translation
abstract diagram
concrete diagram
read a diagram
There are three contours graph, tree and
other, and four zones one outside all contours,
one just in graph, one in graph and tree and one
in all three contours, and one existential
spider...
5
Euler diagrams
abstract diagram
concrete diagram
read a diagram
graph
There are three contours graph, tree and
other, and four zones one outside all contours,
one just in graph, one in graph and tree and one
in all three contours.
tree
other
6
Euler diagrams
abstract diagram
concrete diagram
read a diagram
A
B
There are three contours A, B, C and four
zones ,A,A,B,A,B,C
C
7
Well-formed diagrams
8
An algorithm
This paper presents work on an algorithm for
creating a well-formed Euler diagram from an
abstract Euler diagram. A central idea is that
of the dual graph of a concrete Euler diagram.
9
The dual graph
10
The dual graph
Notice dual edges AB,ABC or A,AB or
null, C Bipartite.
11
Factoring abstraction
contours A, B, C zones , A, A, B, A, B,
C
12
Factoring twice
contours A, B, C zones , A, A, B, A,
B, C
objective
strategy
nodes , A, A, B, A, B, C edges A,A,
B,.
13
Factoring twice
objective
abstract Euler diagram
concrete Euler diagram
strategy
abstract dual graph
concrete dual graph
14
The first inverse
objective
abstract Euler diagram
concrete Euler diagram
strategy
abstract dual graph
concrete dual graph
15
Building an abstract dual graph
  • Given a abstract Euler diagram,

contours A, B, C zones , A, A, B, A,
B, C
Nodes of the abstract dual graph match
zones Edges pair off nodes with labels differing
by a single letter
nodes , A, A, B, A, B, C edges
A,A,B, null, A,.
16
Structure of dual graphs
17
Connectivity conditions
  • The dual of a concrete Euler diagram is always a
    connected graph.
  • Also inside/outside a given contour.

18
Connectivity conditions
contours A, B, C zonesnull, A, B, A,B,C
disconnected dual
undrawable abstract diagrams
19
A more subtle example
contours A, B, C, D zones null, A, A,B,
A,B,C, B,C
disconnected outside A
undrawable abstract diagrams
20
The second inverse
objective
abstract Euler diagram
concrete Euler diagram
strategy
abstract dual graph
concrete dual graph
21
Planar dual graphs
  • Dual graphs are planar graphs
    (no edge-crossings)
  • Generated duals need plane representations
  • Known algorithms - how to make use of rich dual
    graph structure? (bipartite )

22
Absent dual edges
shaded zones give dual nodes A,C, D and C,
D but the zones are not topologically
adjacent including all dual edges from
abstract dual yields a non-planar graph
A
B
D
C
We may have to remove some dual edges before
using the dual graph to draw an Euler diagram.
23
The third inverse
objective
abstract Euler diagram
concrete Euler diagram
strategy
abstract dual graph
concrete dual graph
24
From a concrete plane dual graph to an Euler
Diagram
25
From a concrete plane dual graph to an Euler
Diagram
B
26
From a concrete plane dual graph to an Euler
Diagram
B
C
27
From a concrete plane dual graph to an Euler
Diagram
28
From a concrete plane dual graph to an Euler
Diagram
A
29
From a concrete plane dual graph to an Euler
Diagram
A
needs visual skill to manipulate contours
30
(No Transcript)
31
(No Transcript)
32
Constructing contours from straight line segments
convex face
33
Creating a dual with convex faces
AB
C
B
AC
B
A
C
A
ABC
C
A
C
null
34
Creating a dual with convex faces
C
AC
AB
C
B
AC
A
B
A
C
A
ABC
C
A
null
C
null
35
Creating a dual with convex faces
C
AC
AB
C
B
AC
A
B
A
C
A
ABC
C
A
null
C
null
A
AB
36
Constructing inside arcs
C
AC
AC
AB
C
A
B
AC
A
B
A
C
A
ABC
C
A
null
AB
C
null
A
ABC
AB
37
Constructing inside arcs
C
AC
AC
AB
C
A
B
AC
A
B
A
C
A
ABC
C
A
null
AB
C
null
A
ABC
AB
38
Constructing inside arcs
C
AC
AC
AB
C
A
B
AC
A
B
A
C
A
ABC
C
A
null
AB
C
null
A
ABC
AB
39
Inside arcs
A
A
C
C
A
B
null
A
C
B
C
40
Constructing outside arcs
C
C
A
B
null
A
B
41
Constructing outside arcs
A
null
A
42
Constructing outside arcs
null
43
(No Transcript)
44
Word conditions in faces
  • Unwanted zones

avoid construction of new zones
45
Word conditions in faces
  • triple point problems
  • will occur
  • if
  • reading around
  • face boundary gives
  • ABCABC
  • also avoid AFFBCADEDEBC etc.

46
Word conditions in faces
  • If a word-obstruction appears in a planar dual
    graph, is it worth trying to come up wth a
    different planar representation without the
    word-problem?
  • Can these word-obstructions be resolved in any
    way?

47
Overview
objective
abstract Euler diagram
concrete Euler diagram
convex faces boundary words
connectivity issues
strategy
abstract dual graph
concrete dual graph
planarity issues
48
Questions and current work
Whats the best planarising algorithm for an
abstract dual graph? How can we overcome the
fact that the word-conditions are a feature of
the plane dual, and not a feature of the abstract
dual? How can we make the outcome look
nicer (less convoluted - easier to read by eye)
Write a Comment
User Comments (0)
About PowerShow.com