Menu

#5 edge question

open
nobody
None
5
2005-12-22
2005-12-22
Anonymous
No

Can you have more than one edge between the same nodes?
If so can you provided some sample xml, thanks This
is a great toolkit!!!

Discussion

  • Jens Kanschik

    Jens Kanschik - 2005-12-26

    Logged In: YES
    user_id=723815

    Hi,

    Neither the internal graph model nor the layouts that are
    used in HyperGraph support multiple edges between two nodes.
    However, depending on your application, you may consider to
    insert dummy nodes. Say you have two nodes A and B and you
    would like to have two edges from A to B. You could
    introduce two dummy nodes D1 and D2 and create edges from A
    to the dummy nodes and from the dummy nodes to B :
    A -> D1 -> B
    A -> D2 -> B

    I hope this approach is a solution for your problem.

    Best Regards,

    Jens.

     
  • Richard C. Yeh

    Richard C. Yeh - 2008-02-29

    Logged In: YES
    user_id=1360781
    Originator: NO

    The current code appears to complain if multiple edges (or reverse edges) are added. It's not possible to tell whether the extra edge is drawn.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.