I'm maintaining a program which imports Visio diagrams via COM to use them for process simulation. The code looks at the objects in a given diagram and figures out which ones are simulation objects, which ones are arrows connecting simulation objects(showing work flow) and the rest are either blacklisted/discarded or turned into background images which are used to show labels etc.
The code was written before Visio 2010 was released, and starting with that version, when the Visio diagram import code runs, objects are seemingly bound together, with the simulation objects becoming part of the generated background images. Specifically, in the example below, the swimlanes and process steps are embedded into the CFF container. The example diagram I'm using looks like this in Visio:
If I look at just the CFF container in Visio 2010 it looks like this:
When imported into the simulation software, if I click and drag the CFF container away, it looks like this:
The image above is what the full diagram looks like in Visio, when it should look like the second image.
Can anyone advise me on the format changes which occurred in Visio 2010? Can I 'uncouple' the objects I get over COM somehow? I looked for documentation but libvisio from LibreOffice seems to have no documentation at all. And the msdn docs don't mention anything obvious, although I might have missed something.
A reply has been posted on the Visio Guy forum at:
http://visguy.com/vgforum/index.php?topic=5542.msg22020#msg22020
Related
I am trying to build a Powerpoint Addin using the new JS-based stack that Microsoft has introduced. As part of the development, I am evaluating the support that the current JS libraries are providing. While VSTO/COM-based plugins have been around for quite some time, lack of cross-platform support is a challenge(especially for Mac and now Web), which is also the reason I want to opt for Web-based Addin(JS). But Powerpoint doesn't have a HOST API as Excel or Word does which makes things slightly challenging.
Thus here are the capabilities I want to have from the JS stack -
Ability to add and change the properties of shapes. While adding a shape doesn't have a specific API function, I was able to add it as an SVG object. Is there an easier way to change the properties of shapes and
Adding links to shapes to different slides.
Initiating other office apps like Excel and the ability to edit/read data from those instances.
Apply Slide Transitions.
Ability to connect other data resources through a URI.
Store state of shapes and slides.
It would be great if someone can point to the appropriate sections of the documentation which might help me find answers to this.
Most of what you are requesting cannot yet be done in a PowerPoint Web Add-in. But you can so some of it; for example, "connect to other data sources through a URI". I recommend that you look through the Develop section of the documentation.
I started writing a blog. I am new at it.
can someone help me how to draw nodes/edges and also colouring/editing like this:
Is there any software or any website, where i can get help?
Example: like this post, I want to draw image like that and how to code like that in a box.
Here are several ways of drawing a "professional" looking graph:
Use Graphviz, e.g. with a graph defined through a .dot file.
Use tikz in LaTeX, e.g. in Overleaf.
Draw it manually in e.g. Google Slides, and stylize it with e.g. Times New Roman font.
The first two approaches have the advantage that you don't draw anything directly, but rather define the graph textually, which also makes it easy to edit later if needed.
Another option is Cacoo, an Online Diagram and Flowchart Software. Free trial and easy WYSIWYG interface available on cacoo.com. I did with Cacoo two diagrams that I included in my BSc thesis and both were very similar to the one included in your question.
Instead, if using LaTeX, the package forest may be appropriate.
I was trying to figure out how to make a chart like this but can't seem to find any information. I can't even find a name for this type of chart to Google it.
Does anyone know what these type of charts are called?
This is actually a little different that what I normally see. This is more of a percentage while most represent a certain number of people (one person = 100,000 people)
Here's a better example. I want to try to make something like this programmatically so it can be populated by data.
This is less of a chart and more of an Infographic. It's used to visual display facts or statistics in a friendly and accessible manner. There are plenty of tools on-line that can help you make one of these, but generally they're made custom by graphic designers using image processing tools such as Adobe Illustrator or Inkscape (free).
I'm working with a PLC program that runs over a hundred subroutines in parallel, and each one affects the flow of the others. Countless labels and GOTOs, function calls, etc. My office desk is covered with little stickynotes to help me visualize and track the flow through the program, but it's starting to get too complex to manage that way. Has anyone ever heard of any sort of graphical flowchart-ish program to help organize stuff like that? What I'm picturing is a little text box that I can fill full of pseudocode, then link to other textboxes. Unless I'm actually working in them, the boxes stay collapsed, and you only see a title or something to show what it is. All the links connected to my "open" box are red, or bold, and all other links are dim gray, or maybe not even shown.
Does anything like this exist? I've heard that MATLAB uses something similar to what I'm picturing, but what I want is just a generic sort of "fill in your own info" program; not language-specific. I'd be tempted to make one on my own, but I'm way too busy with WORK-work to start creating NOT-AT-WORK-work for myself.
You can try Dia or yEd. Both are available for linux, I know that yEd is also for Windows. Those are diagramming tools, maybe you'll find them useful.
Graphviz http://graphviz.org/ would be a good tool to achieve this.
It allows you to write your graph descriptions as simple text and it generates and lays out the graph. It can handle pretty large and complicated flows. Here is a simple example to give you an idea of the syntax:
digraph g {
NodeA -> NodeB;
}
I'm looking to build an interactive web-based org chart for a large organization. I somewhat like the interface at ancestry.com where you can hover over people and pan/zoom around and click on different nodes to make them the root.
Ideally, I'd like it if people could belong to multiple organizational entities like committees, working groups, etc. In other words the API should support graphs in general, not just trees.
I'd like to be able to visually explode each organizational substructure into substituents by clicking on it, with a nice animation of the employees ballooning or spilling out so you can really interactively drill down through the organization.
I found http://code.google.com/apis/visualization/documentation/gallery/orgchart.html but it looks a bit rudimentary.
I know there are desktop tools like OrgPlus and Visio that can build static charts but I'm really looking for a free, web-based API with open standards-based output like SVG or HTML5 Canvas elements rather than Flash or some proprietary output. Something I can embed into a custom web application and style myself. Something interactive.
Check my solution on github: OrgChart.svg This is a modern full SVG orgchart with support of custom styling, tip-over / stacking possibility in the best known form. I would be very happy if it helps someone. It is based on snap.svg.
I ended up using the SpaceTree API from the Javascript InfoVis Toolkit to build my org chart:
http://philogb.github.com/jit/static/v20/Docs/files/Visualizations/Spacetree-js.html
I've had a go at building this in d3.js. It was originally built for data pulled from Yammer but now it will work with any csv - like this one.
Here's the repo and here's a demo. You will need to know a little html/javascript to customise it for your application.
There is this one for asp.net but I have only ever added it to my bookmarks so I can't vouch for how standards compliant it is:
http://www.orgchartcomponent.com/
Something you should also consider when you are looking in to this is your charting requirements. Many org charts only support a single top node. If you wanted to map a family tree for example then this might not be the case.