in reply to GraphML module?

A few thoughts based on very limited knowledge ...

If I was thinking of traditional line and bar graphs, I'd probably look into extending GD::Graph::Data to be able to accept GraphML.

If I was thinking more in terms of flowcharts, I'd look into extending something like Graph::Easy.


No good deed goes unpunished. -- (attributed to) Oscar Wilde

Replies are listed 'Best First'.
Re^2: GraphML module?
by Skeeve (Parson) on Jun 08, 2006 at 15:32 UTC
    Maybe I don't understand, but I don't want to extend an existing module. I'm searching for a module that will create GraphML.

    Right now I'm already implementing it with XML::Twig.

    I read a GraphML file which I use as a kind of template, with XML::Twig. Cut out all the nodes and sub graphs which I copy, modify and paste it back in.

    Works quite well...

    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

      Sorry, my earlier posting wasn't directly responding to your question ... but you hadn't received any answers, and I am interested in this general problem space. Sounds like your XML::Twig solution is the best you're going to find -- I didn't find anything in CPAN either.

      I was trying to get at the underlying problem, wondering what kind of graphs you are building, and why.


      No good deed goes unpunished. -- (attributed to) Oscar Wilde
        I have several XML files which all have dependencies among each other. They are all kept in svn (subersion) repositories. My perl script analysis them and generates the graph.

        What I build is one group node for each repository.
        Inside this there are group nodes for each (so called) workbench file.
        Each of these files can contain several templates and objects.
        Each template is made up of several objects not necessarily belonging to the same workbench file the template belongs to.
        So in order to visualize the dependencies I will draw edges between each template and all the objects used in that template.

        It's just an experiment to get a tool to help me get my files a bit better structured.
        I hope I will more easily identify common objects which are used in several templates.

        s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
        +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e