You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
Today I was reading about the line graph of a graph. This construction takes a graph and creates a graph whose nodes are the edges of . I'm pretty convinced that this is an endofunctor defined by sending to the legs of this pullback:
Then the universal maps define the action on morphisms, and also by universality we get associativity, unitality, etc.
Is there any categorical way of going "the other way around"? The answer is no, since there's this Whitney's isomorphism theorem:
If the line graphs of two connected graphs are isomorphic, then the underlying graphs are isomorphic, except in the case of the triangle graph and the claw , which have isomorphic line graphs but are not themselves isomorphic.
Can this be """fixed""" in any way, as in making a functor taking a line graph and reconstructing (approximately?) the original graph?
What you're saying sounds interesting, but your picture isn't visible for me so I can't really understand what the "line graph" is.
For and to make sense do we have to be thinking about the version of 'line graph' that works for directed graphs? I think for the definition here https://en.wikipedia.org/wiki/Line_graph#Line_digraphs the diagram would be the pullback of and themselves.
Okay, that definition looks good. For category theorists a graph (also called a directed multigraph or quiver) is a pair of functions . Taking the pullback of these we get the set of length-two paths, and this pullback has two maps to . So, we get a new graph, the line graph, where the set of vertices is and the set of edges is the set of length-two paths.
So yes, one question is whether there's a version of Whitney's isomorphism theorem for quivers: the original version is for graph theorists' graphs (also called simple graphs).
Another question we could ask is whether the line-graph functor is an adjoint.
It's definitely not a right adjoint since it doesn't preserve the terminal object (the point gets sent to the empty graph).
If it's a left adjoint, with right adjoint , then we would have and . So then maps would just be arbitrary functions , which is very different from .
So no adjoints.
Oscar Cunningham said:
It's definitely not a right adjoint since it doesn't preserve the terminal object (the point gets sent to the empty graph).
Are you sure? Terminal object in graphs has a loop , so the line graph of 1 looks to me like it is terminal :
Ooh, good point!
John Baez said:
your picture isn't visible for me
sorry, here it is image.png
Oscar Cunningham said:
the diagram would be the pullback of and themselves.
as Osscar noticed :)
Now I think there is a right adjoint. Given a graph , define by starting with an independent arrow for each vertex of and then for each arrow in quotient together the target of the arrow corresponding to its source with the source of the arrow corresponding to its target. I think that in other words this is just the pushout of and .
Also I found an example of the line graph construction not being reversible. The graph with vertices and with two arrows between them has the same line graph as the graph with an arrow from to and an arrow from to .
I'm about to read this thread, but before I do, I'll just do a shameless self-plug for something related. In my paper Noncommutative network models, I use Kneser graphs (a cousin to line graphs) to describe some algebraic properties I wanted a categorical gizmo to have. One thing I show is that the assignment of the kneser graph to a set of size gives a lax symmetric monoidal functor . Sorry if this is too diverting!
Indeed, this discussion of line graphs made me think of Kneser graphs, and you.