Pages

Try the processWave.org Diagram Editor now!

Use the processWave.org Editor in Google Wave (discontinued).

Watch the screencasts showing the editor in Google Wave or Google+ Hangouts.

Check out our MIT-licensed source code on GitHub.

October 6, 2011

Diagram Editor for Google+ Hangouts

The processWave.org Diagram Editor is back - on Google+!

The Diagram Editor for Google+ Hangouts enables you to collaboratively create diagrams with your friends while you videochat with them in a Google+ Hangout: Everyone can contribute to the diagram and everyone sees your edit in realtime. It feels like all your friends are hanging out in the same conference room editing the diagram on a giant whiteboard without the need for being in the same physical location. It basically brings all the advantages of collaborative diagram editing you are used to from Google Wave to Google+ Hangouts. Watch the screencast to learn more:



Unfortunately, Google has not yet released Hangouts API to the general public. Once they do, you’ll be able to take the Diagram Editor for Google+ Hangouts for a test spin and I will tell you on this very blog how to do that. Stay tuned!

Meanwhile, you can check out the code of the project on Google Code or learn more about the diagram editor on Google+. Update: The project has been moved to GitHub.

December 23, 2010

Hello, Shared Spaces!

Update (Oct 15, 2011): Google has discontinued Shared Spaces and integrated its technology into Google+ Hangouts. The processWave.org Editor for Shared Spaces is no longer available, but you should check out its integration into Google+ Hangouts!

Google has created a new home for Wave gadgets: Google Shared Spaces. Google says it is an “easy way for you to share mini-collaborative applications, like scheduling tools or games, with your friends or colleagues”. Of course, you can also include our very own processWave.org Editor in a Shared Space. To get started with a new Space, just click here and send the link to your friends inviting them to a collaborative modeling session! To participate, they just need a Google, Twitter or Yahoo account.


PS: Are you planning on developing your own gadget for Shared Spaces? Check out our syncro library for concurrent editing.

August 8, 2010

Good Bye, Wave!

Some days ago, Google announced that it will stop working on the Wave project. That made us kind of sad as we had fun working with this awesome product and we enjoyed talking to the Wave developers at the Google I/O 2010. We are now wondering, what crazy project the guys from the Wave team will start up next...

By the way, if you want to learn more about our development experience with Google Wave, you should check out our bachelor theses. They are available for download and also cover some interesting technical details of the processWave.org editor.

It was fun working together with you all and thanks a lot for your valuable feedback! If you have any further questions about the processWave.org team or our editor do not hesitate to drop us an email.

Good bye!
the processWave.org team

PS: If you need to get your models off the Wave before Google shuts off the Wave servers, check out our new export feature.

August 6, 2010

New Features: Export and Import of Models

The most requested features for the processWave.org editor are the export and import of models. We listened to our users and are pleased to announce the integration of those most requested features. From today on you can export your models from the processWave.org Editor to the web-based ORYX editor, where the models can be further processed and saved in various formats (including PDF). In addition to that, you can also import your models from the ORYX editor repository to share them with your fiends in the Wave. Read on to learn, how you can use those two brand-new features of the processWave.org editor.

Export of Models
  1. Add our gadget to a wave, choose one of our six modeling languages and create a model of your choice.

  2. Click on the new "Export to the Oryx editor" button in the toolbar.


  3. A new tab opens that should show the created model inside the Oryx editor. At this time, you are able to export the model in various data formats: XPDL, RDF, ERDF, BPMN 2.0 DI XML or JSON. The options that are available are shown in the export menu in the Oryx toolbar on the right.



  4. For more export formats like PDF or PNG, you need to save the model into your personal model repository, first. However, saving via the save button only works for logged in users. Therefore, please open a new browser tab and visit http://oryx-project.org/backend/poem/repository. You will see the global repository with public models created by Oryx users and shared with the world. To log in, enter your OpenID in the top right corner of the page. If you don't have an OpenID yet, you can get a free one here: www.getopenid.com


  5. Once you are logged in, return to the tab with your model from 3. Now, you can click the save button, enter a name for the model, and save it to your personal process repository. When you return to http://oryx-project.org/backend/poem/repository and refresh the site, it should now show your new model. Of course, your model is by default not shared with anyone else and can only be accessed from your OpenID account.

  6. If you now select your model by clicking on it, you can find various export options at the bottom left corner of the site. Click on one of the links, like SVG, PDF, PNG to export your diagram in these graphics formats.


Import of Models

  1. Go to http://oryx-project.org/backend/poem/repository and login with your OpenID. Now, you can see all models that you have access to.

  2. Click on the model you want to import to the processWave.org editor. Make sure that the model is public by checking the access rights in the top right corner. At the moment, it is only possible to import public models to the Wave, so if your model is not public yet, click on the publishing icon.



  3. When you are sure the model is public, double-click on the model to open it in the Oryx editor. Look for the export menu in the Oryx toolbar and choose "ProcessWave This!".

  4. A new window opens that asks for permission to create a new wave. Click "continue".

  5. The new wave with the title "Oryx Model Export" is shown and contains a processWave.org editor gadget with your model. You can now rename the wave, invite friends to model collaboratively or even export the model back to your Oryx repository via the export button.
We hope the tutorials above cover every aspect and you enjoy getting your models exported or imported. If you have any further questions about the new features, please leave a comment or send us an e-mail.

July 26, 2010

Our Google I/O presentation on YouTube

Our talk at this year's Google I/O is available on YouTube. Check it out! The presentation of our processWave.org Editor starts at minute 25.

June 1, 2010

Google I/O 2010 Wrap-up

We are back from Google I/O 2010. It was an awesome experience for us! We got a lot of valuable feedback and had many interesting conversations. Thanks to all of you who joined us in the sandbox or during our talk.


PS: For those of you, who could not attend the I/O: Starting next week you will be able to watch our talk on YouTube.

May 18, 2010

The processWave.org Editor

We are happy to announce the release of the processWave.org Editor, a fully collaborative diagram editor for Google Wave.
The processWave.org Editor is a new approach to modeling tools, aiming to make the creation of diagrams an inherently collaborative process.

Try it out now!
Try the processWave.org Editor now by using the installer in this Wave.

Watch the screencast


Real-time collaboration

The processWave.org Editor utilizes the technology of Google Wave: No matter how many people are editing one diagram, changes will be propagated in near real-time.

To make keeping track of changes easy, a changelog lists all actions that were performed on the diagram. Additionally, the changelog doubles as a time machine. With it you can revert the diagram to any previous state it was in at some point of time.


To communicate with other modelers you can annotate the diagram by simply drawing on it. This way you point out modeling errors and suggest improvements. You can also use this feature for real-time communication, e.g. to support a point you make via voice chat.

Extensibility

The processWave.org Editor is open sourced under the terms of the MIT license. It offers a powerful plugin system which makes it easy to add new features as well as modeling languages. You can check out the code on http://code.google.com/p/processwave/


Five modeling languages

The processWave.org Editor is based on the mature web-based diagram editor ORYX. We currently support five modeling languages:

April 19, 2010

Screencast of Modelling Tool for Google Wave

We've created a screencast to show you an early beta version of our collaborative modelling tool for Google Wave. Enjoy!


The modelling language seen in the video is the "Business Process Modelling Notation" (BPMN). To suit your modelling needs, our editor also supports
Right now we are working on some exciting new features and optimizations (like improving the loading time). So stay tuned and watch out for our public release at the end of May 2010!

April 16, 2010

It's alive! Real time collaborative modeling in Google Wave


We are currently working full time on our project of integrating the ORYX editor into Google Wave. We aim to provide a fully featured real-time collaborative diagram editor. Here's a quick rundown of what we have accomplished so far:

Real-time collaboration

Your diagram is kept in sync over all of the connected clients which means that you can see the actions of remote users just as they are being performed. Adding new users to a modeling session in progress is a breeze: Just invite them to your current Wave.


Distributed Undo and Redo

Users expect modern applications to provide undo and redo functionality. Though this is significantly harder to implement for a collaborative and distributed application, we have found a reliable and intuitive way to make undo work just as you would expect it to do in a single-user application.


Farbrausch - easy user identification by colors

To make tracking changes easy, all model elements cast colored shadows. Because each user has a unique color associated with them, it is very easy to see which shape was edited by whom. If you want to know more, a tool tip will provide you with further information.

February 11, 2010

The big picture

So far we've blogged about robots, gadgets and a JavaScript library. Maybe it will suprise you that all of these form the foundation of a very ambitious project: We are working on integrating a large open source software into Google Wave to make it fully collaborative.

Wave is great for creating documents collaboratively. Our vision is to enable all these break-through collaborating features in a modeling tool (think: web-based Visio). Therefore, we are working on the integration of a process model editor called "Oryx" into Google Wave. Never heard of Oryx? Well, let's hear some facts: Oryx is a graphical process model editor that runs in the browser. The Oryx project has been started in 2006 and is fully open sourced under the MIT license. It was initially designed for the creation of business process models using the Business Process Model Notation (BPMN), Event-driven Process Chains (EPC) or Petri Nets. However, because Oryx is extensible via plugins the technology can be used to create all sorts of different models such as UML class diagrams and even GUI prototypes.

We want to make Oryx collaborative in a way that enables multiple users to edit a model simultaneously. Imagine seeing other people dragging shapes around in real-time or an awesome playback feature that shows you how the model evolved.

We are very excited about this project because it is to our knowledge the only endeavour to integrate a large software product into Google Wave.

We'll keep you posted.

February 4, 2010

syncro: Real collaboration in Google Wave gadgets

When Google Wave was first announced, excitement was high among developers. For the first time there would be a platform to enable real-time collaboration not only when editing text but also in all kinds of embedded applications. Google called them gadgets.

Disappointment ensued when it became obvious that the great collaborative text editing features were not available inside of gadgets. Instead Google provided a shared gadget state, a simple key-value storage that is kept in sync across all clients. While this model of a shared state is very easy to pick up, it does not lend itself to creating complex applications. Let's have a look at a simple example: Imagine we want to create a simple application that allows us to create shapes on a canvas and move them around.


The gadget state for this application could look like this:
"next_object_index" : "3"
"0": "{'type': 'rectangle', 'x': 128, 'y': 256}"
"1": "{'type': 'rectangle', 'x': 512, 'y': 0}"
"2": "{'type': 'circle', 'x': 256, 'y': 0}"
Each time a user wants to create a new shape, they insert a new key-value pair to the gadget state using the value of next_object_index as the key. Afterwards, the value of next_object_index has to be incremented. If the position of a shape changes, the user updates the according attributes in the key-value pair representing the object.

There is a problem to this approach widely known as "lost update": When two users create a shape at the same time, they are likely to do so using the same key. If this happens, the update from the user with higher latency will overwrite the other update. Similarly if a user with high latency changes the position of a shape, this update might reach the server with a high delay, causing another position update which actually happened afterwards to be overwritten.

To address this issue we could encapsulate each change to the model (e.g. shape creation, position change) in a single command object which is stored under a unique key in a unambiguous chronological order in the gadget state. This allows the commands to be applied after another so every client has the same view on the model state. This is a fairly common design pattern known as the command pattern. However, this raises two new problems:
1) How do we generate unique keys within the gadget?
2) How do we maintain a chronologically ascending order of commands which is the same on all participating clients without a central coordinator, i.e. in a distributed way?

Introducing syncro

We have written syncro, JavaScript library for Google Wave gadgets to solve these problems. Syncro provides an interface to a
command stack stored in the gadget state. The library ensures unambiguous chronological order of all commands pushed to this stack.

The interface to syncro is dead easy. The library has to be initialized with two callbacks:
syncro.initialize(initializeCallback, newCommandCallback);
The initializeCallback is executed when the gadget is loaded. It receives all commands on the command stack as a parameter in the order they must be applied in.
function initializeCallback(commands) { 
 for (var i = 0; i < commands.length; i++) {
  apply(commands[i]); 
 }
}
ThenewCommandCallback is executed every time a new command is pushed to the command stack. It receives three arguments: the new command, an array of commands that need to be reverted because of delayed updates as described in the example above and an array of the commands that have to be applied after reverting.
function newCommandCallback(newCommand, revertCommands, applyCommands) { 
 for (var i = 0; i < revertCommands.length; i++) {
  revert(revertCommands[i]); 
 } 
 for (var i = 0; i < applyCommands.length; i++) { 
  apply(applyCommands[i]); 
 } 
}
newCommand is always identical toapplyCommands[0] and just passed for convenience. Finally, you are able to push new commands to the command stack with the following function:
syncro.pushCommand(command);

Example

There is a little collaborative drag and drop gadget demonstrating the capabilities of syncro. You can use it as an entry point to start writing your own gadget with syncro. Try it out in our public syncro wave in the Wave Sandbox.
Gadget url: http://static.processwave.org/syncro/example/example.xml
Gadget installer url: http://static.processwave.org/syncro/example/syncro_example_installer.xml

Get the code

The library itself and the example are licensed under the terms of the MIT license. You can get it from our bitbucket repository: http://bitbucket.org/processwave/syncro

Known issues

Google currently limits the gadget state size to 100 kilobytes. If your Wave
crashes while using the provided example, the command stack may have exceeded the granted memory.

December 4, 2009

GoogleFight!

Did you ever wonder if it is spelled misbehavior or missbehavior? Now there is an gadget for that! Just punch in both possible spellings into Google Fight and hit Fight! The word with the most Google hits will win and is the correct spelling - probably.But that's not all! There are endless use cases for Google Fight:
  • Who is more popular? Michael or Peter? Just ask Google Fight.
  • Which place is nicer? Berlin or Potsdam? Google Fight knows the answer!
  • What should we eat for lunch? Pizza or Burger? Hit the Fight-Button and know what is good for you!
  • Should I cheat on my girlfriend? Yes or No?
Try it out for yourself and visit our public wave, where we provide an installer for this gadget. It's as easy as 1-2-3.

We would also like to point out, that Google Fight is fully collaborative. You see when other participants of the wave edit the words in the gadget just as you would expect from Google Wave.


Warning: If your life depends on it, do not depend on Google Fight!

Interested? Try and install gadget! Your feedback is very welcome!

December 2, 2009

Invity - Behind the Scenes

We hope you enjoyed Invity, our group management robot for Google Wave. Now we want to reveal the code behind our robot and share our thoughts and problems with you.

At first, we developed Invity as a pure robot without any sophisticated user interface. One had to type something like "#groups.save myFriends" in a Blip to save a group. However, we quickly realized it would be cool to have a gadget that allows more comfortable user interaction. But as gadgets are not able to invite people, it was obvious to us that the robot has in some way to interact with the gadget. The reason is that the gadget has to delegate the user input to the robot and the robot has to push the info about a user's groups to the gadget.

We use the state of the gadget to save the input of a user.
When someone clicks on "Invite!", we do the following:
var state = wave.getState();
var viewer = wave.getViewer().getId();
var value = gadgets.json.stringify({ 'action' : action, 'groupName' : groupName, 'viewer' : viewer });
state.submitValue('command', value); 
On the robot side, we parse and execute the action the user specified like this:
JSONObject json = new JSONObject(command);
String action = json.getString("action");
String groupName = json.getString("groupName");
String viewer = json.getString("viewer");
if (action.equals("save")) {
    saveGroup(event, groupName, viewer);
} 
The saveGroup method look like this:
private void saveGroup(RobotMessageBundle bundle, String groupName, String viewer) {
    PersistenceManager db = PMF.get().getPersistenceManager();
    List<String> participants = bundle.getWavelet().getParticipants();
    List<Group> groups = fetchGroupByName(groupName, viewer, db);
    if (groups.isEmpty()) {
          participants.remove("pw-invity@appspot.com");
          Group group = new Group(groupName, participants, viewer);
          db.makePersistent(group);
    }
    db.close();
}
We were quite impressed how easy and reliable this saving of groups in the Data Viewer works. However, from the robot to the gadget, the communication does not work quite that well. When we tried to display the current groups of a user in the gadget, we encountered a strange behaviour:

We use the setProperty method in the following way to save the groups of all participants of a wave in the gadget state:
String allGroups = createJSONFromGroups(participants);
gadget.setProperty("allGroups", allGroups); 
We expected that this call would trigger the updateState callback as specified on the gadget side:
wave.setStateCallback(displayState);
Unfortunately, the displayState method is not called when the robot changes the gadget state. So we had to build an ugly workaround which deletes the gadget and reinserts it after the robot commits a change:
private void reinsertGadget(RobotMessageBundle bundle) {
    List<Blip> allBlips = bundle.getWavelet().getRootBlip().getChildren();
    Blip gadgetBlip = deleteGadgetFromBlips(allBlips);
    Gadget newGadget = new Gadget(gadgetURL);
    updateGadgetState(bundle, newGadget);
    gadgetBlip.getDocument().getGadgetView().append(newGadget);
} 
We're not really happy with this solution, but as Google knows about this issue, we hope we can delete it soon.

Sources

You can get the full source code for the Robot and for the Gadget at http://wave-samples-gallery.appspot.com/about_app?app_id=77015. Feel free to modify and reuse under the terms of the MIT License (http://www.opensource.org/licenses/mit-license.php).

If you have not tried out Invity yet, just add pw-invity@appspot.com to one of your waves.

November 23, 2009

Invity: Group Management in the Wave

Update: We've released the source code in our new blog post highlighting the technical details of Invity.

Have you ever come across the situation of inviting many people at once to a wave? For instance, assume you want to share a wave with all your friends or colleagues that are already participants of another wave. As of today, you would have to invite everyone separately to the new wave. In our project, we often found it annoying to invite the same group of people to lots of different waves. We would love to have some kind of group management, which is announced by Google but not yet implemented. However, as a workaround we developed our own solution, which we want to share with you today.

Invity the Inviter


We are happy to present Invity (pw-invity@appspot.com), a Google Wave robot that you can add to your waves. It can save all current participants of the wave as a named group. When you create a new wave and invite Invity, you are able to select a group and Invity automatically adds all members to the wave.

Invity in two simple steps:

1. Create the group


2. Invite the group to a new wave


Please try it out and give us feedback!

Later this week, we will publish some insights we gained during the development process in a more technical post. We also plan to publish Invity's source code.

November 17, 2009

Hello, Wave!

Half a year ago Google announced Wave, an online tool for real-time communication and collaboration. While it already provides excellent features for live collaborative editing, communication in the Wave tends to be unstructured and chaotic. We are working on a project to support the execution of business processes inside Google Wave and provide guidance to users. In particular we are looking at two use cases: publishing an online newspaper and modelling business processes in the Wave.

We are seven software engineering students at Hasso Plattner Institute in Potsdam, Germany. This project is part of our bachelor's degree and we are supervised by the Business Technology Group of Professor Weske at Hasso Plattner Institute. We are excited to work with Google Wave and in this blog we will share our experiences. During our project we will also create a number of gadgets and robots we would like to share with you to get your feedback.

Stay tuned!
 
Web Statistics
Embed Wave to Blogger