Hi, i need modify the graph.swf to add zoom in/out and drag and drop option,
because we have a lot of cards in many levels and is difficult to see.
What tool could i use to modify the source code?
I was trying with flash builder but i recived messages like this:
1046: Type was not found or was not a compile-time constant: CmdbData.
and i can't resolve the problem.
thanks
Hi Pablo,
the Graph component in CMDBuild has not been touched since release 1.0 and it has quite a few limitations (a notable one is that it is not translated). It has been on hold since then, waiting for a total rewrite, but that has not yet been scheduled at the moment. Even if it's not a priority for us, we appreciate any contribution.
The Graph is part of the CMDBuild project. You can clone the release branch (1.5) like this:
I suggest you don't use the default branch since it is unstable due to the heavy changes for the next release.
To build the Graph we use Maven (
http://maven.apache.org/) as for the rest of the project. In case you are more familiar with Ant, you have to download other libraries as written in the BUILDING.txt file:
The project directory is cmdbuild-graph and the sources are located in the src/main/flex subdirectory.
The swf file can be compiled by going to the cmdbuild-graph directory and running
Of course you need Maven installed in the system. Then the compiled file will be target/cmdbuild-graph-1.0.swf.
Before start doing any changes to the source code I suggest you alter the version string from "<version>1.0</version>" to "<version>1.1-SNAPSHOT</version>".
Paolo
Thanks paolo, i will try to do the improvements.
Tecnoteca ha scritto:
Hi Pablo,
the Graph component in CMDBuild has not been touched since release 1.0 and it has quite a few limitations (a notable one is that it is not translated). It has been on hold since then, waiting for a total rewrite, but that has not yet been scheduled at the moment. Even if it's not a priority for us, we appreciate any contribution.
The Graph is part of the CMDBuild project. You can clone the release branch (1.5) like this:
I suggest you don't use the default branch since it is unstable due to the heavy changes for the next release.
To build the Graph we use Maven (
http://maven.apache.org/) as for the rest of the project. In case you are more familiar with Ant, you have to download other libraries as written in the BUILDING.txt file:
The project directory is cmdbuild-graph and the sources are located in the src/main/flex subdirectory.
The swf file can be compiled by going to the cmdbuild-graph directory and running
Of course you need Maven installed in the system. Then the compiled file will be target/cmdbuild-graph-1.0.swf.
Before start doing any changes to the source code I suggest you alter the version string from "<version>1.0</version>" to "<version>1.1-SNAPSHOT</version>".
Paolo