Project Description

pptGraphCreato

The main purpose of this add-in is to help people who sometimes need to draw graphs into the PPT and then add some animations,  to do it in a more convenient way .

You  can automatically  generate graphs or upload your own graph (only graphml format support for the moment), in addition you can specify the color and the size of your nodes.

This add-in was developed using the NodeXL library.

GraphCreator features

  • Random graph generation :  You can randomly generate a graph with the desired number of nodes into your PPT project.

Random1

  • Load an already saved graph: The add-in support loading graphs from files, for the moment only the graphml format is supported.

LoadGraph

After selecting your gml file the graph will be drawn according to the selected layout.

LoadGraph2

  • Modifying graph appearance: The add-in allows the user to set some basic display properties such as the nodes size, the graph layout and the color of the nodes. In case the user didn’t specify the nodes size, the nodes size will be proportional the screen size and the graph size, so big graph generate small size nodes.

GraphSettings

An example of a gml file :

<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<!-- Created by igraph -->
  <graph id="G" edgedefault="undirected">
    <node id="n0">
    </node>
    <node id="n1">
    </node>
    <node id="n2">
    </node>
    <node id="n3">
    </node>
    <node id="n4">
    </node>
    <node id="n5">
    </node>
    <node id="n6">
    </node>
    <node id="n7">
    </node>
    <node id="n8">
    </node>
    <node id="n9">
    </node>
    <node id="n10">
    </node>
    <node id="n11">
    </node>
    <node id="n12">
    </node>
    <node id="n13">
    </node>
    <edge source="n0" target="n1">
    </edge>
    <edge source="n0" target="n2">
    </edge>
    <edge source="n0" target="n3">
    </edge>
    <edge source="n0" target="n4">
    </edge>
    <edge source="n0" target="n5">
    </edge>
    <edge source="n0" target="n6">
    </edge>
    <edge source="n0" target="n7">
    </edge>
    <edge source="n0" target="n8">
    </edge>
    <edge source="n0" target="n9">
    </edge>
    <edge source="n0" target="n10">
    </edge>
    <edge source="n0" target="n11">
    </edge>
    <edge source="n0" target="n12">
    </edge>
    <edge source="n0" target="n13">
    </edge>
  </graph>
</graphml>

 

Last edited Jun 14, 2012 at 11:23 AM by sirusbasevi, version 8