Is it possible to represent associations as directed edges in Vizigator or Vizdesktop

4 views
Skip to first unread message

Dickinson

unread,
Nov 17, 2011, 4:39:36 AM11/17/11
to ontopia
Dear users,

I want to represent a topic map as a directed graph, with associations
between the instances, represented as directed edges. However, I
cannot find how to do that. Additionally, I thought of the idea,
making the colour of the edge white (so it cannot be seen) and stick
an icon, but the icon representing the edge is showing only one
direction and is not "sticky" to the edge. Any help would be
appreciated.

Best Regards,
Ivan

Murray Altheim

unread,
Nov 17, 2011, 3:40:57 PM11/17/11
to ont...@googlegroups.com
Quoting Dickinson <ipep...@googlemail.com>:

Hi Ivan,

Another option is something called a bipartite graph, where the edges
carry no semantics, with both Topics and Associations displayed as
their own node types.

Back in about 2000 I began work on a project that lasted for much of
a decade, called Ceryle. It uses a highly customised version of the
TouchGraph java package and represents Topics and Associations with
small rectangles, connected by rubber-banded edges that themselves
carry no semantics. Edges were built by drawing a series of lines
from multiple points to a single point, effectively making a long
thin triangle to show direction. The midpoint of those lines is
easy to locate, so you could hang your icon off that point if you
wished.

TG's author, Alexander Shapiro, has since commercialised the code and
doesn't distribute it, but I believe the original TouchGraph package
may still be around on the internet somewhere. It was itself based on
an early Java code example showing a rubber-banded graph.

Hope that is of some help.

Murray

http://en.wikipedia.org/wiki/Bipartite_graph
...........................................................................
Murray Altheim <murray11 at altheim dot com> = = ===
http://www.altheim.com/murray/ === ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = ===

Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record

Reply all
Reply to author
Forward
0 new messages