You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/hashgraph/HashgraphPictureOptions.java
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,6 @@ public interface HashgraphPictureOptions {
10
10
*/
11
11
booleanisPictureFrozen();
12
12
13
-
/**
14
-
* @return should the hashgraph be expanded
15
-
*/
16
-
booleanisExpanded();
17
-
18
13
/**
19
14
* @return should round created be written for every event
Copy file name to clipboardExpand all lines: platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/hashgraph/internal/EventSelector.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ public void mouseClicked(final MouseEvent me) {
Copy file name to clipboardExpand all lines: platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/hashgraph/internal/HashgraphGuiControls.java
-19Lines changed: 0 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,6 @@ public class HashgraphGuiControls implements HashgraphPictureOptions {
28
28
privatefinalCheckboxfreezeCheckbox;
29
29
/** if checked, color vertices only green (non-consensus) or blue (consensus) */
30
30
privatefinalCheckboxsimpleColorsCheckbox;
31
-
/** if checked, use multiple columns per member to void lines crossing */
32
-
privatefinalCheckboxexpandCheckbox;
33
31
34
32
// the following control which labels to print on each vertex
35
33
@@ -66,7 +64,6 @@ public HashgraphGuiControls(final ItemListener freezeListener) {
66
64
freezeCheckbox = newCheckbox("Freeze: don't change this window");
Copy file name to clipboardExpand all lines: platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/hashgraph/internal/HashgraphPicture.java
Copy file name to clipboardExpand all lines: platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/hashgraph/internal/PictureMetadata.java
Copy file name to clipboardExpand all lines: platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/hashgraph/internal/RosterMetadata.java
+7-82Lines changed: 7 additions & 82 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
importcom.hedera.hapi.node.state.roster.Roster;
5
5
importcom.swirlds.platform.internal.EventImpl;
6
6
importedu.umd.cs.findbugs.annotations.NonNull;
7
-
importedu.umd.cs.findbugs.annotations.Nullable;
8
7
importjava.util.Objects;
9
8
importorg.hiero.consensus.roster.RosterUtils;
10
9
@@ -19,20 +18,7 @@ public class RosterMetadata {
19
18
/** the labels of all the members */
20
19
privatefinalString[] memberLabels;
21
20
22
-
// the following allow each member to have multiple columns so lines don't cross
23
-
/** number of columns (more than number of members if preventCrossings) */
24
-
privatefinalintnumColumns;
25
-
/** mems2col[a][b] = which member-b column is adjacent to some member-a column */
26
-
privatefinalint[][] mems2col;
27
-
/** col2mems[c][0] = the member for column c, col2mems[c][1] = second member or -1 if none */
28
-
privatefinalint[][] col2mems;
29
-
30
-
/**
31
-
* In order to draw this "expanded" hashgraph (where each member has multiple columns and lines don't
32
-
* cross), we need several data tables. So fill in four arrays: numMembers, mems2col, col2mems, and
33
-
* names, if they haven't already been filled in, or if the number of members has changed.
0 commit comments