Join the orgviz community telegram chat for user questions, comments, or development gossip.
A tool to visualize the "real" structure of organizations.
On a technical level, this tool basically parses a high level text based language, which is compiled to the amazing GraphViz dia
program language. It provides extra constructs and ease of use for drawing complex org charts (graphs!).
This tool has been tested on Fedora 30, but will almost certainly work on any Linux with python3 and Graphviz installed. If Mac’s have Graphviz, then it should work on a Mac just fine.
If using this tool from source, the following packages are required;
-
GraphViz’s
dot
- you can get this fromyum install graphviz
on most Linux distributions. -
python3
The following python3 libraries are also required;
-
python3-configargparse
(note, not justargparse
)
To run orgviz against an input file and generate an image;
./orgviz.py -I <inputfile>
For more help;
./orgviz.py --help
Download the example org file here (right click on link, save as). Don’t copy and paste the text because it might break the tabs in the file.
Edit the file using your favourite text editor, following this README guidance.
When you’re ready, run orgviz
like this;
export ORGVIZ_INPUT=examples/ExampleCompany.org (1) ./orgviz.py (2) xdg-open orgviz.svg (3)
-
Set the input file (so we don’t have to specify it every time)
-
Run orgviz to generate the image.
-
Open the image with your default system viewer.
Note
|
Most image viewers support "refresh", so you can edit in one text editor window, and then "refresh" the currently open image just by pressing F5. |
Full Name supports -> Full Name reports -> Full Name influence: <enemy, supporter, promoter> team: Team Name title: Job Title
For the example input file that makes up the screenshot above, please see the [examples directory](examples/).
Note: The input file requires tabs, not spaces. It won’t parse if you indent with spaces.
Available attributes include;
-
team
-
title
-
country
Note
|
You can add any attribute you like, such as phoneNumber , or email ,
but attributes not listed above won’t be drawn.
|
Connection types can be anything - the format is [type] → Full Name
. Some
common types are supports
, reports
, loves
, etc.
Note
|
supports is the only connection type that draws a "dotted line" between
people. All other line types are straight arrows.
|
When rendering the picture, there are various ways to vizualize the people. You
can choose 1 of these options (eg --vizType none
);
-
DS
- Decision Making Unit and Sentiment (default)-
Uses the
dmu
andsentiment
attributes of people. Go tovizType=DS
docs.
-
-
inf
- Influence - A simple enemy / supporter / promoter-
Uses the
influence
attribute of people. Go tovizType=inf
docs
-
-
none
- everyone is drawn with just white boxes. Go tovizType=none
docs
orgviz defaults to this DS
view, which is useful for sales teams. DS
stands for Decision Making Unit (dmu
) and Sentiment (sentiment
).
James title: Support Engineer dmu: U sentiment: O
Available dmu
options;
-
User - People in an organisation who directly work with the products/services and get organisational benefits from them. They are often the ones that initiate the requirement for a solution.
-
Influencer - People who can influence the buying decision for a number of reasons. For example, the IT team within and company may influence an organisation’s decision as to what software or solutions that company should buy. In this example, they are often the ones charged with evaluating various alternatives and making the internal recommendation to the business. If Red Hat is selected then we have achieved a Technical Win
-
Gatekeeper - People who control the flow of information to others. For example, a personal secretary may not allow the sales people from a supplier to have access to deciders or users. Likewise, a receptionist may play the role of a gatekeeper as he/she usually maintains telephone, email, and postal communications.
-
Buyer - People who have formal authority to negotiate with suppliers. They negotiate and arrange terms of purchase with the suppliers. As negotiation is a specialist function, high level employees usually play the roles of buyers.
-
Decision Maker - People who have the final say in the buying decision. They have the power and authority to select the final suppliers to move on with the buying process. For example, the finance manager in a company may decide which supplier to work with on the basis of how much money the supplier is asking for a particular product/service.
Available sentiment
options;
-
Proponent
-
Neutral
-
Opponent
There is also the option to create a more simplistic view, called "influence" - i.e does this person have influence over this Opportunity/Account or not?
If you get tired of specifying command line options, then create
~/.orgviz.cfg
and pop your options in there to save time. Use
--help
to find syntax for this and the list of all available options.
At the moment, profile pictures just come from a directory of .jpeg
files
that match people’s names. Set the profilePictureDirectory
option to a
directory of photos, and profilePictures
to use this feature.
There is a separate microservice in development that auto-grabs profile pictures and LinkedIn details, but this is not released yet.