Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kieker-TeeTime-Stages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeeTime
Kieker-TeeTime-Stages
Commits
f89c0b0f
Commit
f89c0b0f
authored
9 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
move default label to constant
parent
e32c2589
No related branches found
No related tags found
1 merge request
!17
Get impletemented stages and Java 8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/kieker/analysis/graph/BlueprintsExporter.java
+3
-1
3 additions, 1 deletion
src/main/java/kieker/analysis/graph/BlueprintsExporter.java
with
3 additions
and
1 deletion
src/main/java/kieker/analysis/graph/BlueprintsExporter.java
+
3
−
1
View file @
f89c0b0f
...
...
@@ -11,6 +11,8 @@ public class BlueprintsExporter {
private
final
com
.
tinkerpop
.
blueprints
.
Graph
exportGraph
=
new
TinkerGraph
();
private
final
Map
<
Vertex
,
com
.
tinkerpop
.
blueprints
.
Vertex
>
mappedVertices
=
new
HashMap
<>();
private
static
final
String
LABEL_PROPERTY
=
"label"
;
public
BlueprintsExporter
(
final
Graph
graph
)
{
this
.
graph
=
graph
;
}
...
...
@@ -41,7 +43,7 @@ public class BlueprintsExporter {
for
(
final
Edge
edge
:
graph
.
getEdges
())
{
final
com
.
tinkerpop
.
blueprints
.
Vertex
mappedInVertex
=
mappedVertices
.
get
(
edge
.
getVertex
(
Direction
.
IN
));
final
com
.
tinkerpop
.
blueprints
.
Vertex
mappedOutVertex
=
mappedVertices
.
get
(
edge
.
getVertex
(
Direction
.
OUT
));
String
label
=
edge
.
getProperty
(
"label"
);
String
label
=
edge
.
getProperty
(
LABEL_PROPERTY
);
if
(
label
==
null
)
{
label
=
""
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment