Graph visualization of my arch status

I aim to create a diagram that represent the status of my arch linux. In particular i want to make a graph that have all the packages that i decide to install linked to the dependencies. I tried to use a combination of pactree and dot but without any result. i will post the little script i made so if anyone have some advice.
#!/bin/bash
rm all.deps
for out in $(pacman -Qqs)
do
pactree -g $out >> all.deps
done
dot -Tsvg all.deps > alldeps.svg
the main problem is that inside the file there are distinct graph one per each package. I want to make one entire graph with the dependencies occurs only one and have many links.
I try to find on internet if someone did something like this but i didn't have any luck.

Pacgraph is certainly an option, but not everyone likes its output...
If you want to use pactree & dot, it is of course possible, you need just few tweaks to your script:
#!/bin/bash
echo 'digraph G { START [color=red, style=filled]; node [style=filled, color=green]; ' > all.deps
for out in $(pacman -Qqs)
do
pactree -g $out
done | sed '/digraph G/d;/^node /d;/^}$/d;' | sort -u >> all.deps
echo '}' >> all.deps
time dot -Tsvg all.deps > alldeps.svg
That will join all the subgraphs into one and remove duplicate dependencies. Note that the final image, is quite incomprehensible, as there is way too many packages You might want to play with the settings a bit...
Last edited by dolik.rce (2013-04-23 18:26:42)

Similar Messages

  • Graphing visualization bug - holes in 3D stacked area graphs

    Has anyone seen this bug in the grapher?
    http://web.mac.com/iconoplasty/iWeb/Site/other_data/numbers-bug-1.pdf
    http://web.mac.com/iconoplasty/iWeb/Site/other_data/numbers-bug-2.pdf
    These are both 3D stacked area graphs of similar periodic data from two different time frames. I'm currently working on a spreadsheet that has four of these. These two have the same type of bug in the rendering (note the holes in the graphs), the other two look fine.
    3D stacked area graphs that I generate from other tables in the spreadsheet, or even 3D stacked area graphs that I generate from subsets of the two tables that generated these graphs, also look fine. The only time I encounter the error (at the moment) is when I generate 3D stacked area graphs from these two full tables. And it happens for every 3D stacked area graph I generate -- I tried generating a second and third graph with slightly different display attributes, but the error persists for those graphs as well.
    Anyone have any insight on this?

    Hello
    May you pack a sample document in a zip archive
    attach it to a mail
    and send it to:
    koenig PERIOD yvan AT tele2 PERIOD fr
    I would be able to check that the behaviour may be reproduced. If it may, I will post a report to Apple.
    Send a document with NO confidential datas because it would be necessary to send the document with the report.
    Yvan KOENIG (from FRANCE mardi 4 mars 2008 21:11:33)

  • Service Order Component User Status

    Hello All -
    Has anyone successfully tied a user status profile to the component item on the service order?  I've added the object type from BS12 and BS02, but I can't find a configuration assignment at the component level.  Any help is greatly appreciated!

    Hi ,
    What i get with your query is that you want to know the user status at component level. I mean to say for example if suppose product has come for repair than at each level of service what is the status of the process at user level you want to know that.you can get that into table crmc_status_proc table. this table is UI filter in order to restrict visibility of status management in the CRM business transaction to the necessary functions there.
    Entries in the CRMC_STATUS_PROC table control the following:
    Which system status should be displayed in the CRM business transaction?
    Which of the system statuses used in the CRM business transaction are lifecycle statuses?
    Which system statuses may be set manually in the CRM business transaction?
    Which system statuses may be deleted manually in the CRM business transaction?
    If a system status may be manually set or reset, which business transactions should be used for setting or resetting?
    Should the display or maintenance be restricted to specific business object types?
    Which of the system statuses used in the CRM business transaction should be displayed in the toolbars for status maintenance?
    Visualization of the system status using an icon
    thanks
    hemant ghiya

  • Code error for several graphs

    Hi, for several graphs visualize this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46036] Internal Assertion: Condition bAllColumnsReplaced, file server\Query\Optimizer\Navigator\Src\SQONProcessingPathGraph.cpp, line 2273. (HY000)
    It is a mistake system?
    Who can help me?
    Thanks in advance

    946247 wrote:
    no one answer me?There is a smiliar known issue in OBIEE 11g. Refer to this on MOS: OBIEE 11g: Error: "Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P...[nQSError: 46036] Internal Assertion: Condition logicalSubRequest" After Filtering On Hierarchy Column [ID 1393344.1]

  • 3D Graph Layout Algorithms?

    Hello there! I'm developing a project for my first computer science thesis at the university of Bari, Italy. This project consists in a OpenGL graph visualization tool but I'm having trouble in implementing a correct layout algorithm.
    The problem is that I have been unable to find any information regarding the actual algorithms.. all I've discovered is that there are many commercial products out there that implement these algorithms.. :) I need to know how to implement them myself!
    I have a set of spheres (and the x-y-z coordinates of their center), and a set of edges which describe the various connection between those spheres. I'm currently using a sort of very simple spring embedder algorithm which works in this way:
    Phase 1:
    get sphere 1 (s1)
    get sphere 2 (s2)
    check s1 against all other spheres
    if their euclidean distance is too small they are moved farther away in this way:
    if (s1.x < s2.x)
    s1.x -= delta
    s2.x += delta
    if (s1.y < s2.y)
    s1.y -= delta
    and so on. This is the only way to avoid collisions between spheres that I thought of, since they are not puntiform in fact they have a certain radious. Then in phase 2 I iterate between all the edges and if two connected spheres are too distant from each other they are moved nearer in a way like the one described above. But it doesn't seem to work as it should in fact this algorithm seems to lock the spheres after a number of iteration but rarely produces pleasing visual configurations.
    So could anyone please point me in the right direction? What kind of algorithm could I use? A description would be very useful.. Thanks in advance!

    Hi, I am coauthor and developer of some of the spring-embedder algorithms used in the Java graph layout library 'yFiles' (we call them 'organic layout algorithms'). Some of the algorithms actually work in 3D and all of them can be adapted very easily to run in 3D. We are using combinations and variants and enhanced versions of some of the following algorithms, as well as some of our own, but for a starter this should be enough information for you:
    google for 'GRIP layout' 'GUIDE layout', Kamada-Kawai, Fruchterman-Reingold, Eigenvalue graph layout, GEM spring embedder,
    Implementing those algorithms well can lead to very nice results: feel free to take a look at our gallery of graph layouts:
    http://www.yworks.com/en/products_yfiles_practicalinfo_gallery.htm
    Regards, and a happy new year, Sebastian

  • Google Summer of Code proposal

    Hi all,
    Gephi organization, open-source graph visualization plaform is looking for students application about a Shader-based visualization engine.
    You may already know how Google SoC works, basically a student will receive payment (*5000$*) for working on a mentoring open-source projects.
    Some facts:
    - We are Java and JOGL
    - Our current visualization engine is compatible OpenGL 1.5 and can already draw hundred thousand elements at least.
    - We use Octree, LOD and culling
    [Quick demonstration video|http://vimeo.com/9726202]
    *Short version of the [Shader Engine Proposal|http://wiki.gephi.org/index.php/Google_Summer_Of_Code_2010#Shader_Engine]:*
    The aim is to create a basic 3D engine using suggested technologies and use it for drawing as many nodes and edges as possible. Moreover the engine should guarantee the possibility to add an interaction layer to develop the network exploration.
    Existing Gephi 3D engine is intended to be used with as much hardware as possible and thus doesn&rsquo;t profit from GPU so much. The particularity of a network visualization 3D engine is the need to draw a huge amount of very basic shapes (sphere or cube for nodes and lines for edges). For a traditional "direct" engine, drawing millions of objects, even if it is the same object costs millions of loop iterations and CPU-to-GPU transfers. When using shaders, graphics are directly processed by the GPU and therefore speed-up rendering.
    We suggest this draft roadmap:
    Get started with loading and executing vertex and fragment shaders within a JOGL routine in a sample application.
    Code impostors for nodes, work on sphere appearance with ambient occlusion technique. The molecular visualization can be a great source of inspiration.
    Code basic geometry and camera positioning to allow displacement and zoom.
    Build the architecture to manage node updates (position update, select, color, size).
    Try to draw edges with GPU.
    Propose nice post-processing effects. Try to make a glow effect around spheres.
    Instructions to apply here
    Spread the word!

    Spread the word!Why?

  • How to count number of viewer of a thread in sharepoint discussion board.

    HI All,
    I am working on sharepoint discussion board, I want to calculate the total number of viewers of a thread.
    Just like a thread in MSDN forum Replies & Views.
    is there any column in sharepoint discussion board to get number of views.
    please tell me the approach or share the C# code.
    thanks

    hello
    you can use Sharepoint Audit feature - see
    SPAudit class for details. Also check this link:
    Number of times a post has been viewed in SharePoint Discussion Board
    Blog - http://sadomovalex.blogspot.com
    CAML via C# - http://camlex.codeplex.com
    Graphs visualization in Sharepoint - http://spgraphviz.codeplex.com

  • Question about flex with facebook api

    I want to use flash with facebook,when it visit a url,it will use JSON to decode data,when it contains connection,I hope it can display button which named "show" or "hide"
    AS code is follows:
    public function CustomGraphContainerController(a_graphControlContainer:GraphControlContainer)
       super(a_graphControlContainer);
       var loader:URLLoader=new URLLoader();
       var request:URLRequest = new URLRequest();
       var variables:URLVariables = new URLVariables();
       request.url = "http://localhost/api.jsp";
       variables.metadata = 1;
       request.data = variables;
       loader.addEventListener(Event.COMPLETE,onGraphDataLoadComplete);
       loader.load(request);
    private function onGraphDataLoadComplete(a_event:Event):void{
       var loader:URLLoader=a_event.target as URLLoader;
       var graphData:String=loader.data;
       var decodedJSON:Object = JSON.decode(graphData);
       if (decodedJSON.data) {
        var graphList:GraphList = new GraphList();
        var childGraphObject:GraphObject;
        for each(var childObject:Object in decodedJSON.data) {
         childGraphObject = new GraphObject();
         for (var childKey:String in childObject) {
          childGraphObject[childKey] = childObject[childKey];
         graphList.addToList(childGraphObject);
        graphList.paging = decodedJSON.paging;
        this.renderGraphList(graphList);
       else{
        var graphObject:GraphObject=new GraphObject();
        for(var key:String in decodedJSON){
         graphObject[key]=decodedJSON[key];
        this.renderGraphObject(graphObject);
        trace(graphData);
    the return codes from url,like follows:
    "id": "204603129458_127056137323572",
    "from": {
      "name": "Packt Publishing",
      "category": "Products_other",
      "id": "204603129458"
    "message": "The Amazon SimpleDB Developer Guide has been published!Get your copy now! http://bit.ly/blFQUG",
    "created_time": "2010-06-04T12:39:44+0000",
    "updated_time": "2010-06-04T12:39:44+0000",
    "data": [{
      "name": "Packt Publishing",
      "connection":"https://graph.facebook.com/packtpub/feed",
      "id": "204603129458"
    "connection": {
      "feed": "https://graph.facebook.com/packtpub/feed",
      "posts": "https://graph.facebook.com/packtpub/posts",
      "tagged": "https://graph.facebook.com/packtpub/tagged",
      "statuses": "https://graph.facebook.com/packtpub/statuses",
      "links": "https://graph.facebook.com/packtpub/links",
      "notes": "https://graph.facebook.com/packtpub/notes",
      "photos": "https://graph.facebook.com/packtpub/photos",
      "albums": "https://graph.facebook.com/packtpub/albums",
      "events": "https://graph.facebook.com/packtpub/events",
      "videos": "https://graph.facebook.com/packtpub/videos"
    "likes": 1
    When I run above code,it only display "Pop Out" button,it don't display show or hide button, why?  How to correct above code to display "show" or "hide" button?
    Thanks

    Hi saeed,
    For building Berkeley DB on Windows XP, you can find the documentation here: http://www.sleepycat.com/docs/ref/build_win/intro.html
    Windows FAQ also contains helpful information: http://www.sleepycat.com/docs/ref/build_win/faq.html
    You have just to install Berkeley DB, in order to use C API. Please, be aware that you have to link against the release build, after you built it.
    Regards,
    Bogdan Coman, Oracle

  • Advanced Data Display (Organizational Chart)

    Hi guys
    does anyone know how to create an organizational chart? I found ILOG Elixir 2.0 but this is not for free. I need something similiar like in this example:
    http://visudemos.ilog.com/webdemos/orgchart/orgchart.html
    Thanks,
    Jan

    The only one I know of that is even close ( meaning it can draw stuff and connect it with lines ) is Spring Graph which is free but, has very few features.  It can be found on [Mark Shepherd's Blog|http://mark-shepherd.com/blog/2006/11/17/a-flex-component-for-graph-visualization/], while well written it is really just a show piece.  I doubt he maintains it or will do bug fixes on it.
    The ILOG components are really great, they are very well writen and if you are doing Flex consulting at all the $800 price tag pays for itself with one Gantt chart app sale.
    -d

  • Declutter layout algorithm

    Hi all you algorithm gurus - I'm looking for ideas for an algorithm to solve the following problem. It's specifically meant to "spread out" or "declutter" the overlapping vertices in a graph visualization system, but I'll state it in more general terms.
    In a rectangular area of the screen there are n rectangles. Each rectangle has a location (the (x,y) coordinate of upper-left corner) a width and a height. Some of the rectangles may overlap each other. The declutter layout algorithm should translate the vertices from their original locations, such that after translation no vertices overlap. The algorithm should also try to minimize the translation distance of each rectangle, so the user does not lose all context.
    Any ideas? Sounds similar to a spring embedded layout algorithm, or some kind of repellent force algorithm, except we're not concerned about connectedness of vertices. Just need to spread out the overlapping ones.

    Any ideas? Sounds similar to a spring embedded
    layout algorithm, or some kind of repellent force
    algorithm, except we're not concerned about
    connectedness of vertices. Just need to spread out
    the overlapping ones.I think a good way to start thinking of algorithms is to consider how you would do this manually. In this case, I would probably start at the top left-corner rectangle, find elements overlap it, and move those away in along the axis of their greatest linear overlap. Then recurse on those rectangles.
    Now if the relative position of the elements is unimportant, you can use a bin packing algorithm and rerrange all the elements.

  • Using mouse to draw cicrle

    hi,
    cuold you tell me how to draw the circle by mouse on xy graph, but in this case the equation to generate cricle is not required. that mean i will change the xy graph from indicator to control status and draw on it.
    sincerely,
    Tung

    tungu123 wrote:
    first of all, i change the xy graph from "indicator" to "control" condition. after that i will draw the circles or lines on this graph.  but i do not know how to draw because xy graph is not allow to draw when it is "changed to control" condition.
    I think you are not understading the basics of a graph. Changing a graph to a control does not magically turn it into a full featured drawing program.
    Have a look at the above quoted examples. Basically you need some code to read mouse-down and mouse-move coordinates, map them to the graph scale, then generate the graph data. You can (and should) leave the graph as an indicator.
    Open the example finder an look at example "draw graph with events". Let us know how far you get. Good luck!
    Instead of a graph, you could also use a picture indicator.
    If you have a newer LabVIEW version, you can use the "plot images" feature.
    Message Edited by altenbach on 02-22-2007 11:14 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Algorithm resources

    Hi,
    I was hoping that someone would be able to point me in the direction of finding some information on how to implement popularly used algorithms (especially, graph drawing algorithms) in Java,
    Thanks for any help in advance

    Hi!
    You should take a look at http://www.yworks.de ! They implemented a framework for graph visualization called yFiles and also have a demo for animated graph algorithms on their site.

  • Project status graph in OBIEE?

    Hi Gurus,
    I am wondering if it is possible to create a Project status graph (e.g. Microsoft project graph) in OBIEE?
    My requirement is to create similar graph with OBIEE. Please let me if it is possible, if yes then how.
    http://www.workengine.com/Applications/cpmworkengine/SiteAssets/Capabilities/Schedule-Management/Microsoft%20Project%202…
    Thanks in advance.

    Try SampleApp v305 - 3.21 Configured Visuals - "Gantt"  or "Voting Bars"

  • Show workflow visualization on status page" not available

    Hi, i'm trying to publish my sharepoint designer workflow to SharePoint, but it wont give me the option to select "show workflow visualization on status page", its just greyed out. If i use the beta version of SharePoint Designer (on a different server),
    it works fine, but it wont let me select it in RTM version. Has anybody else seen this problem? If so did you manage to figure something out?
    Thanks!
    Treasa

    Clayton,
    We are deploying a new SharePoint 2010 Enterprise solution. I wanted to verify with you..in order to use the workflow visualization feature we need to have a copy of Visio 2010 Premium?
    Thanks, Trey
    What call is being made on Form Load, and is it not being called when the form is initially opened?  I ask this, because you say the error only pops up when opening an existing form (not new forms).  Also, is that Form Load web service call using
    custom code?SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force

  • Data Visualization and Graphs for JSF

    Are the Data Visualization and Graphs for JSF included in this release. I saw the demo here http://www.oracle.com/technology/products/jdev/11/index.html and want to try it out. But I could not seem to access it in the tool.
    Regards
    Orlando Kelly
    Cayman Islands Government

    <p>
    Hi,
    </p>
    <p>
    It seems you have no suitable libraries in your ViewController project. See on this image whet libraries you need.
    </p>
    <p>
    Kuba 
    </p>

Maybe you are looking for